threat-dragon
threat-dragon copied to clipboard
Bug: Added non-passive event listener to a scroll-blocking event
Describe the bug: there are violations reported in the developer console window when developer tools are enabled, for example:
util.js:12 [Violation] Added non-passive event listener to a scroll-blocking 'mousewheel' event.
Consider marking event handler as 'passive' to make the page more responsive.
See https://www.chromestatus.com/feature/5745543795965952
and similarly for 'touchstart' events
these are due to the antv/x6 common library, and we need to wait for a newer version of @antv/x6
Expected behaviour:
no warnings that slow down the application
Environment:
- Version: latest antv/x6 version 2.18.1
- Platform: both Web App / Desktop App
- OS: probably all MacOS / Windows / Linux
- Browser: any chrome, firefox, safari
To Reproduce: open a diagram with developer tools enabled
Any additional context, screenshots, etc:
possibly use library Fix the [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. error message using library passive-events-support
can i contribute to this issue ?