-
Notifications
You must be signed in to change notification settings - Fork 388
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
preventMouseEventsDefault stops working on Chrome 73 #331
Comments
For the devs: With the recent (breaking) changes in Chrome where preventDefault doesn't work on document level wheel events, would need to change the above example to: Additional info: |
Hi Dreadknought , |
|
Hi @mariodebian, could you review this pull request to verify it solves this issue: |
For now people who encounter this issue may try cloning and building from https://github.com/Bigfellahull/svg-pan-zoom, the repo from where the PR came. That´s what I did and it worked. |
When will this get merged? Facing same issue: on using the mouse wheel, the svg and web page both respond |
Bug report
The option preventMouseEventsDefault disable scroll event, allowing wheel-zoom.
With new Chrome 73 version: https://www.chromestatus.com/features/6662647093133312 they change to passive by default.
Expected behaviour
Zoom with mouse wheel without scrolling.
Actual behaviour
Mixed strange behaviour zoom+scroll.
Steps to reproduce the behaviour
Configuration
3.6.0
Chromium 73.0.3683.75-1
Linux/Debian
The text was updated successfully, but these errors were encountered: