Hello everyone
I’m using Swiper JS on my website, it’s working fine on desktop (both with arrows and swipe gesture) but on mobile the slider is only working with arrows, but the swipe gesture isn’t working. But When I copy and paste the slide into a new webflow project it’s working fine both on mobile and desktop.
The code I’m using:
var swiper = new Swiper(".smooth-swiper", {
slidesPerView: 1.2,
freeMode: true,
spaceBetween: 16,
navigation: {
nextEl: ".arrow-next",
prevEl: ".arrow-prev"
}
});