-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow opt-out of Chrome's passive event listener 'intervention' #2068
Comments
I'm a fan of the |
Adding an extra use-case: I have a scroll listener that needs to be synchronous so I need to specify Small note: rather than |
I need this in order to move an element by touch while preventing scrolling in sapper. I vote for |
Oops, I was able to solve my issue with |
Version 3.27.0 now has a |
Chrome have decided to break the web by assuming that touch/wheel events are passive unless you explicitly pass
passive: false
. Aside from philosophical concerns about breaking older apps that are no longer maintained, this makes life harder for Svelte, since there's no way to declaratively state that an event listener should be non-passive:Possible solution: add an
active
modifier:The text was updated successfully, but these errors were encountered: