react-svg-pan-zoom
react-svg-pan-zoom copied to clipboard
"Unable to preventDefault inside passive event listener invocation." on console
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: https://github.com/inuyaksa/jquery.nicescroll/issues/799 https://github.com/ariutta/svg-pan-zoom/issues/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?
was this ever fixed?
On 3.12.1 and hasn't been fixed. But this comment from the https://github.com/inuyaksa/jquery.nicescroll/issues/799 thread worked for me: https://github.com/inuyaksa/jquery.nicescroll/issues/799#issuecomment-886062133
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