-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Description
Check that this is really a bug
- I confirm
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
- Follow our Code of Conduct
- Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
- Make sure this is a Swiper issue and not a framework-specific issue
Would you like to open a PR for this bug?
- I'm willing to open a PR
Metadata
Metadata
Assignees
Labels
No labels