gblazex/smoothscroll-for-websites

Unable to preventDefault inside passive event listener due to target being treated as passive.

Closed this issue · 2 comments

Hello,

I am facing the preventDefault issue on chrome when I scroll using a mouse wheel, JS errors appear each time the mouse wheel is moved. Is this is a known issue?

Looking forward to hearing from you.

snix0 commented

This issue should be fixed with v1.4.9, where a change was made to support the new standard of some event listeners being passive by default starting from Chrome 73.

You can read more about it from Google here:
https://developers.google.com/web/updates/2019/02/scrolling-intervention

it should work as snix0 said. if you still experience problems please provide sample page/code.