Swiper autoplay loop behavior when autoplay disabled
0 reputation · 19 Dec 2024, 15:01 UTC
Goal
We want a Swiper instance that loops infinitely but does not automatically transition between slides.
Current Constraints
- Swiper version 8.x or newer.
- Configuration uses
loop: truefor infinite looping. - Autoplay is disabled by setting
autoplay: { delay: 0 }or omitting the autoplay option.
Unresolved Behavior
When loop: true is combined with a disabled autoplay, the slider sometimes still performs a transition after the last slide, briefly showing the first slide again. This flicker occurs even though no autoplay delay is specified.
Specific Questions
- Does Swiper automatically trigger a slide transition when
loop: trueand autoplay is disabled? - Is there a documented configuration that keeps the slider static while maintaining loop mode?
- What is the expected behavior for
loop: truewithautoplay: { delay: 0 }according to Swiper’s official docs?