diff --git a/src/core/loop/loopFix.mjs b/src/core/loop/loopFix.mjs index 76e8c708f..3271a0854 100644 --- a/src/core/loop/loopFix.mjs +++ b/src/core/loop/loopFix.mjs @@ -158,7 +158,7 @@ export default function loopFix({ if (byMousewheel) { swiper.setTranslate(swiper.translate - diff); } else { - swiper.slideTo(activeIndex + slidesPrepended, 0, false, true); + swiper.slideTo(activeIndex + Math.ceil(slidesPrepended), 0, false, true); if (setTranslate) { swiper.touchEventsData.startTranslate = swiper.touchEventsData.startTranslate - diff; swiper.touchEventsData.currentTranslate =