From f4054459bb158b81eeb99d39156cd5083b6aecb7 Mon Sep 17 00:00:00 2001 From: "drake.aren" Date: Wed, 30 Oct 2019 20:12:23 +0600 Subject: [PATCH] issues #16 --- src/Carousel.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Carousel.vue b/src/Carousel.vue index 9f4d4cd..8a8930d 100644 --- a/src/Carousel.vue +++ b/src/Carousel.vue @@ -296,6 +296,11 @@ export default { }); }); + owl.on('mousewheel', '.owl-stage', (event) => { + this.$emit('mousewheel', event); + e.preventDefault(); + }); + if (!this.loop) { owl.on('changed.owl.carousel', (event) => { // start