Closed sandor closed 7 years ago
I can't mark all the "wheel" events as passive because I need to preventDefault() their default action which is scrolling a page. This might have negative performance impact on touch devices (phones, tablets), be shouldn't be a problem on a desktop.
You can hide those warning by switching the console display mode from "Verbose" to something lower:
xel.min.html:1 [Violation] Added non-passive event listener to a scroll-blocking 'wheel' event. Consider marking event handler as 'passive' to make the page more responsive.
Is this something I should worry about?