Hey community.
I just implemented a slider with Swipe.js and I have a problem.
I have 10 slides and I set loop
to true
. Now my problem is that when I swipe through the slides, the first 10 slides load just right, but when I swipe further, the looped slides appear too late.
Here is my current setup:
const andereFahrzeugeSlider = new Swiper(".swiper-andere-fahrzeuge", {
// Parameters
loop: true,
slidesPerView: 'auto',
centeredSlides: true,
speed: 500,
grabCursor: true,
navigation: {
nextEl: ".swiper-btn-next",
prevEl: ".swiper-btn-prev",
},
});
Does anyone have any experience with Swiper or an idea how to solve this problem?
Thanks a lot!
Here is my site Read-Only: LINK
Here is the stage-link: LINK
(how to share your site Read-Only link)