chunk-ZPNW35G7jsv=2fa3db25341 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 httpswwwch
This is a warning message from the browser's console. It indicates that a scroll-blocking event listener has been added to the 'mousewheel' and 'wheel' events, which may negatively impact the page's performance and responsiveness.
To resolve this issue, you can mark the event handler as 'passive', which tells the browser that the handler will not call preventDefault(). This allows the browser to optimize scrolling performance.
You can find more information about this browser feature and how to use passive event listeners in the provided link: https://www.chromestatus.com/feature/574554379596595
原文地址: https://www.cveoy.top/t/topic/iOzx 著作权归作者所有。请勿转载和采集!