Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] Write and Add @debounce decorator to scroll to top component to prevent scroll event from firing on every event #3515

Open
xelaint opened this issue Feb 20, 2025 · 0 comments
Assignees
Labels
package: daff.io @daffodil/daff.io
Milestone

Comments

@xelaint
Copy link
Member

xelaint commented Feb 20, 2025

💡 Feature request

Feature Name

Write and add @debounce decorator to scroll to top component to prevent scroll event from firing on every event

The Desired Behavior

A new @debounce decorator that prevents events from firing on every event, i.e. scroll event firing on every pixel.

Debounce ever ~5 seconds or so

Your Use Case

Prior Work

Environment


Daffodil version: X.Y.Z
Angular version: X.Y.Z 

 
For Tooling issues:
- Node version: XX  
- Platform:  

Others:

@xelaint xelaint added the package: daff.io @daffodil/daff.io label Feb 20, 2025
@xelaint xelaint added this to the Daffodil v1.0 milestone Feb 20, 2025
@xelaint xelaint self-assigned this Feb 20, 2025
@damienwebdev damienwebdev changed the title [FEAT] Add @debounce to scroll to top component to prevent scroll event from firing on every event [FEAT] Write and Add @debounce decorator to scroll to top component to prevent scroll event from firing on every event Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: daff.io @daffodil/daff.io
Projects
None yet
Development

No branches or pull requests

2 participants