vue-lazyload-images
vue-lazyload-images copied to clipboard
Passive event handler
Could you make the scroll event handler passive? It would make the page more responsive and get rid of the [Violation] Handling of 'wheel' input event was delayed for 283 ms due to main thread being busy. Consider marking event handler as 'passive' to make the page more responsive.
warning.
https://developers.google.com/web/updates/2016/06/passive-event-listeners
Sorry for delay.
Thanks and good advice!
Maybe you can use throttle
or debounce
to relieve the problems temporarily, and I'll enhance the project as soon as i can in the future.
Already did that. Thank you for the future enhancement.
Never mind about the delay.
Any news on this?
Sorry for delay replying. I've no time to consider to enhance the project recently. It's the best if you can open a pr. I'll appreciate it. : )