{"id":19009478,"date":"2026-09-02T10:40:19","date_gmt":"2026-09-02T10:40:19","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/carousel-touch-swipe-drag-doesnt-work\/"},"modified":"2026-09-02T10:40:19","modified_gmt":"2026-09-02T10:40:19","slug":"carousel-touch-swipe-drag-doesnt-work","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/carousel-touch-swipe-drag-doesnt-work\/","title":{"rendered":"Carousel: touch swipe \/ drag doesn&#8217;t work"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi QuadLayers team,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I\u2019m having an issue with the <strong>carousel layout<\/strong> where visitors cannot swipe or drag the slides, either on mobile or desktop.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The carousel itself is working correctly \u2014 the navigation arrows and pagination dots work as expected. The only issue is that touch\/drag\/swipe interaction does nothing.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I couldn\u2019t find a setting in the plugin to enable swipe\/drag, so I checked the compiled frontend JavaScript. In <code>build\/frontend\/js\/index.js<\/code>, the Swiper instance appears to be initialized with:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>allowTouchMove: false<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>new Swiper(el, { slideClass: \"instagram-gallery-item\", loop: true, centeredSlides: ..., allowTouchMove: false, slidesPerView: ..., pagination: {...}, navigation: {...}, breakpoints: {...} })<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Could you confirm whether <code>allowTouchMove: false<\/code> is intentional?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If so, is there a plugin setting or recommended way to enable <strong>touch\/swipe\/drag interaction<\/strong> for the carousel? If it is not intentional, could this be a bug in the current version?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thanks.<\/p>\n","protected":false},"template":"","class_list":["post-19009478","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19009478","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19009478\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=19009478"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}