-
Notifications
You must be signed in to change notification settings - Fork 524
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
bug with Chrome 73 + VictoryZoomContainer Zoom #1272
Comments
@goldo thanks for this issue and related information. I'll take a look as soon as I can |
Also waiting for the fix |
Took a quick look at this and found the following:
Therefore the events need to be registered manually and passed |
Tried to fix it here: https://github.com/Sintifo/victory/tree/fix/chrome-passive-scroll Maybe someone with more knowledge in svg event handling can take a look. |
There's an interesting discussion going over at React about Chrome's breaking changes. There is also a temporary fix posted here: facebook/react#14856 (comment) I've tried it with VictoryZoomContainer and it works as it should. |
Thanks a lot |
Thank you very much for the temporary fix. Works really well with victory. |
Bug
Checklist
This is not a
victory-native
specific issue. (Issues that only appear invictory-native
should be opened here)I have read through the FAQ and Guides before asking a question
I am using the latest version of Victory
I've searched open issues to make sure I'm not opening a duplicate issue
The Problem
With Chrome 73, when you want to zoom in/out your VictoryChart with a VictoryZoomContainer, the page scrolls down/up in the same time and you should see this in the console:
With the recent chrome 73 version, there is a breaking changing in the zoom handling.
More details here: https://developers.google.com/web/updates/2019/02/scrolling-intervention
Reproduction
The text was updated successfully, but these errors were encountered: