diff --git a/vue-frontend/src/components/ios-app-development/CaseStudySection.vue b/vue-frontend/src/components/ios-app-development/CaseStudySection.vue index 141a5314d..02a02bf69 100644 --- a/vue-frontend/src/components/ios-app-development/CaseStudySection.vue +++ b/vue-frontend/src/components/ios-app-development/CaseStudySection.vue @@ -85,6 +85,7 @@ :speed="700" :mousewheel="false" :modules="modules" + :allowTouchMove="false" class="swiper-container tw-h-screen" @swiper="setSwiperRef" @slideChange="onSlideChange" @@ -314,9 +315,10 @@ export default { let scrollTop = window.scrollY; if (window.pageYOffset >= stickyTop) { this.swiperRef.mousewheel.enable(); - console.log("enablemousewheel", this.swiperRef.mousewheel.enable()); + this.swiperRef.allowTouchMove = true; } else { - console.log("disablemousewheel", this.swiperRef.mousewheel.disable()); + this.swiperRef.mousewheel.disable(); + this.swiperRef.allowTouchMove = false; } this.lastScrollY = scrollTop; },