|
@@ -2143,7 +2143,7 @@ function Wheel(Splide2, Components2, options) {
|
|
const { bind } = EventInterface(Splide2);
|
|
const { bind } = EventInterface(Splide2);
|
|
function mount() {
|
|
function mount() {
|
|
if (options.wheel) {
|
|
if (options.wheel) {
|
|
- bind(Components2.Elements.track, "wheel", onWheel);
|
|
|
|
|
|
+ bind(Components2.Elements.track, "wheel", onWheel, { passive: false, capture: true });
|
|
}
|
|
}
|
|
}
|
|
}
|
|
function onWheel(e) {
|
|
function onWheel(e) {
|