ifvisible.js icon indicating copy to clipboard operation
ifvisible.js copied to clipboard

No debounce is applied

Open quantbhn93 opened this issue 4 years ago • 1 comments

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.

quantbhn93 avatar Sep 30 '21 17:09 quantbhn93

@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

rosskevin avatar Jun 18 '22 01:06 rosskevin