No debounce is applied
quantbhn93 opened this issue · comments
Quân Chùa commented
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.
Kevin Ross commented
@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