Check that this is really a bug
Reproduction link
https://swiperjs.com/demos/270-mousewheel-control/core
Bug description
Chrome shows passive events violation when mouse wheel is enabled and notice it's not there in the source (but looks like it's added to other events)
Can we add in pretty please?
Thanks so much!
Expected Behavior
No violation warning
Actual Behavior
CHROME > [Violation] Added non-passive event listener to a scroll-blocking 'wheel' event. Consider marking event handler as 'passive' to make the page more responsive
Swiper version
9.1.0
Platform/Target and Browser Versions
Chrome 110.0.5481.100
Validations
Would you like to open a PR for this bug?
Check that this is really a bug
Reproduction link
https://swiperjs.com/demos/270-mousewheel-control/core
Bug description
Chrome shows passive events violation when mouse wheel is enabled and notice it's not there in the source (but looks like it's added to other events)
Can we add in pretty please?
Thanks so much!
Expected Behavior
No violation warning
Actual Behavior
CHROME > [Violation] Added non-passive event listener to a scroll-blocking 'wheel' event. Consider marking event handler as 'passive' to make the page more responsive
Swiper version
9.1.0
Platform/Target and Browser Versions
Chrome 110.0.5481.100
Validations
Would you like to open a PR for this bug?