diff --git a/src/core/slide/slideNext.mjs b/src/core/slide/slideNext.mjs index a554307e2..efdeda5f4 100644 --- a/src/core/slide/slideNext.mjs +++ b/src/core/slide/slideNext.mjs @@ -16,7 +16,7 @@ export default function slideNext(speed = this.params.speed, runCallbacks = true swiper._clientLeft = swiper.wrapperEl.clientLeft; if (swiper.activeIndex === swiper.slides.length - 1 && params.cssMode) { requestAnimationFrame(() => { - swiper.slideTo(swiper.activeIndex + increment); + swiper.slideTo(swiper.activeIndex + increment, speed, runCallbacks, internal); }); return true; } @@ -24,5 +24,5 @@ export default function slideNext(speed = this.params.speed, runCallbacks = true if (params.rewind && swiper.isEnd) { return swiper.slideTo(0, speed, runCallbacks, internal); } - return swiper.slideTo(swiper.activeIndex + increment); + return swiper.slideTo(swiper.activeIndex + increment, speed, runCallbacks, internal); }