Skip to content
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

"Unable to preventDefault inside passive event listener invocation." on console #186

Open
mikkopori opened this issue Oct 27, 2020 · 3 comments

Comments

@mikkopori
Copy link

Bug reports:

After upgrading to 3.8.1. the warning "Unable to preventDefault inside passive event listener invocation." started appearing on mouse events in mobile over the react-svg-pan-zoom using Chrome.

Similar issues (with fixes) can be found in other repos:
inuyaksa/jquery.nicescroll#799
bumbu/svg-pan-zoom#360

This seems to be the cause:
https://developers.google.com/web/updates/2017/01/scrolling-intervention

Fixing this requires perhaps only changing the event listener invocation to active?

@fabiocatino
Copy link

was this ever fixed?

@jedrojas
Copy link

On 3.12.1 and hasn't been fixed. But this comment from the inuyaksa/jquery.nicescroll#799 thread worked for me: inuyaksa/jquery.nicescroll#799 (comment)

@connerkennedy32
Copy link

This is still an issue on 3.12.1. I can't get it to work even with @jedrojas suggestion. Would love a fix so I can use this on Chrome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants