mercs600 / vue3-perfect-scrollbar

Vue.js wrapper for perfect scrollbar for version 3
142 stars 21 forks source link

Passive option for event listener #14

Closed linhntaim closed 7 months ago

linhntaim commented 2 years ago

Hi you,

Please apply this

https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#improving_scrolling_performance_with_passive_listeners

to prevent the warning:

[Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952

image

Thanks

hermesalvesbr commented 10 months ago

Any news about this warning-fix?

devahmetkaradeniz commented 8 months ago

Hi, I'm still receiving this warning. Is there any update on this issue?

mercs600 commented 7 months ago

Guys, this repository and plugin serve as a wrapper for Perfect Scrollbar in Vue.js applications. Therefore, any bugs related to the core of the Perfect Scrollbar library should be reported here: https://perfectscrollbar.com/

archon-dev commented 6 months ago

image image

Look like this issue is part of this plugin. Can you please recheck the code if any of the solution can be done in the plugin part.