-
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
Chrome 74: Unable to preventDefault inside passive event listener due to target being treated as passive. #337
Comments
I have same problem about this |
I have the same problem. |
1 similar comment
I have the same problem. |
You can get rid of the message by commenting line 845 in the the library ( i included the file in a browser app at the moment so I'll just drop the code you need to find. `
|
Hi @SvetlozarValchev, could you review this pull request to verify it solves this issue: |
I can confirm I no longer can reproduce the issue. |
Doesnt this change zoom the svg and scrools the browser window at the same time then (if the page that hosts the svg is scrollable cause of long content? I think the purpose of this preventDefault() here is to prevent that scrolling. |
@SvetlozarValchev thanks for checking. Just to clarify, which code did you test for reproducing the issue: current master or pull request #355? |
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. |
@BodoMinea you did a great job, but I assume that you intentionally did not want to push the built dist result ? I created a fork including the file ready to be used, I have to admit that this great library is unusable without this fix. |
Still experiencing this issue with version 3.12.1. Any file I can change now that will fix this with the newest chrome version? |
Bug report
Expected behaviour
No errors in Dev Console
Actual behaviour
When Zooming in/out, the console repeatedly logs the following error:
Unable to preventDefault inside passive event listener due to target being treated as passive.
Steps to reproduce the behaviour
Configuration
3.6.0
The text was updated successfully, but these errors were encountered: