threat-dragon icon indicating copy to clipboard operation
threat-dragon copied to clipboard

Bug: Added non-passive event listener to a scroll-blocking event

Open jgadsden opened this issue 1 year ago • 1 comments

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:

Screenshot 2024-10-06 at 10 20 14

jgadsden avatar Oct 06 '24 09:10 jgadsden

can i contribute to this issue ?

Yashkrit-Singh avatar Dec 06 '24 10:12 Yashkrit-Singh