vue-lazyload-images icon indicating copy to clipboard operation
vue-lazyload-images copied to clipboard

Passive event handler

Open zdenekhatak opened this issue 6 years ago • 4 comments

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

zdenekhatak avatar Oct 28 '17 12:10 zdenekhatak

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.

lowesyang avatar Nov 03 '17 06:11 lowesyang

Already did that. Thank you for the future enhancement.

Never mind about the delay.

zdenekhatak avatar Nov 03 '17 07:11 zdenekhatak

Any news on this?

zdenekhatak avatar Dec 04 '17 16:12 zdenekhatak

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. : )

lowesyang avatar Dec 28 '17 05:12 lowesyang