diff --git a/src/modules/mousewheel/mousewheel.js b/src/modules/mousewheel/mousewheel.js index 9bde07fb7..2afcfddbf 100644 --- a/src/modules/mousewheel/mousewheel.js +++ b/src/modules/mousewheel/mousewheel.js @@ -395,9 +395,13 @@ export default function Mousewheel({ swiper, extendParams, on, emit }) { if (swiper.params.mousewheel.eventsTarget !== 'container') { targetEl = document.querySelector(swiper.params.mousewheel.eventsTarget); } + const activeListener = !swiper.params.passiveListeners + ? { passive: false, capture: false } + : false; + targetEl[method]('mouseenter', handleMouseEnter); targetEl[method]('mouseleave', handleMouseLeave); - targetEl[method]('wheel', handle); + targetEl[method]('wheel', handle, activeListener); } function enable() {