You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the mousewheel to zoom, the console logs an error: Unable to preventDefault inside passive event listener invocation. It seems to be coming from node_modules@antv\x6\src\util\dom\mousewheel.ts, where event.preventDefault is being called.
Enable zooming feature and use mousewheel to scroll.
The console will log an error when scrolling.
Expected behavior
As a user, I am expecting to prevent double scrolling by stopping the default scrolling behaviour of the page when I am using the zooming on the graph.
Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
Describe the bug
When using the mousewheel to zoom, the console logs an error: Unable to preventDefault inside passive event listener invocation. It seems to be coming from node_modules@antv\x6\src\util\dom\mousewheel.ts, where event.preventDefault is being called.
This is because of the default passive event listeners. Reference: https://developer.chrome.com/blog/scrolling-intervention-2/
Your Example Website or App
NA
Steps to Reproduce the Bug or Issue
Enable zooming feature and use mousewheel to scroll.
The console will log an error when scrolling.
Expected behavior
As a user, I am expecting to prevent double scrolling by stopping the default scrolling behaviour of the page when I am using the zooming on the graph.
Screenshots or Videos
No response
Platform
Chrome (Version 116.0.5845.188 (Official Build) (64-bit)),
Edge (Version 117.0.2045.36 (Official build) (64-bit))
Additional context
No response
The text was updated successfully, but these errors were encountered: