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

No debounce is applied #75

Open
quantbhn93 opened this issue Sep 30, 2021 · 1 comment
Open

No debounce is applied #75

quantbhn93 opened this issue Sep 30, 2021 · 1 comment

Comments

@quantbhn93
Copy link

Currently, the event gets fired on every user interaction such as clicking multiple times, moving mouse or resizing window.
Debounce must be applied to prevent browser from getting bogged down quickly.

@rosskevin
Copy link

@quantbhn93 I have just released an updated version of this library with throttling added as an improvement. Please see 3.2.0 https://github.com/rosskevin/ifvisible/releases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants