Bug reportNov 27, 2026· 0:29· 18 views
Swiper v11: autoplay stalls after first slide when speed is 0
0:29 total
Comments · 0
Be the first to comment.
Bug reportby SceneRecap AI
mediumSwiper autoplay module. Check how it schedules the next slide when speed is 0. The transitionEnd event may never fire, so autoplay waits forever (waitForTransition path).
os: macOSdpr: 1config: speed: 0, autoplay delay: 2 000 ms, loop: truelocale: en-USbrowser: Chromium 151.0.7922.34library: Swiper v11 (cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js)timezone: Europe/Berlinviewport: 1280x720
Repro steps
- 1.Open the Swiper #7773 test page. It uses Swiper v11 with speed: 0, autoplay delay: 2 000 ms and loop: true. Slide 1 is shown in the idle state.
- 2.Click the button labeled Start autoplay.
- 3.Watch the carousel. It advances once from Slide 1 to Slide 2.
- 4.Keep watching for more than 2 s. No further transition happens.
Expected
With autoplay delay set to 2 000 ms and loop enabled, the carousel should move to the next slide about every 2 s. It should cycle through all 4 slides and loop back to Slide 1.
Actual
Autoplay advances once, from Slide 1 to Slide 2. It then stops on slide 2 of 4. The transitions counter stays at 2 and the no change timer grows from 3.6 s at 11.0s to 15.6 s at 23.0s. A banner at 13.0s reports that the carousel is stuck on slide 2, with no transition in 5 s.
Evidence
visualBefore autoplay starts, the header shows Swiper v11, speed: 0, autoplay delay: 2 000 ms, loop: true. The status says the page is ready and asks the user to click Start to begin autoplay.
visualControl: after Start autoplay, the first advance works. Slide 2 (red) is shown and the status reads transitions: 2, slide 2 of 4, no change for 1.6 s.
visualFirst bad moment: the status reads no change for 3.6 s while still on slide 2 of 4, which is past the 2 000 ms delay. The progress bar is empty.
visualA red banner appears: Stuck on slide 2, no transition in 5 s (speed: 0 / waitForTransition bug).
visualThe status still reads transitions: 2, slide 2 of 4, no change for 15.6 s. The progress bar stays empty.
consoleWarning: a parser-blocking cross site script, swiper-bundle.min.js from cdn.jsdelivr.net, is invoked via document.write. This is a loading warning. The script loaded and the carousel ran, so it is likely not related.
Issue markdown (copy-paste ready)
## Swiper v11: autoplay stops on slide 2 of 4 when speed is 0 **Environment** - Chromium 151.0.7922.34, macOS, 1280x720, dpr 1 - Swiper v11 from `cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js` - Config: `speed: 0`, autoplay `delay: 2000`, `loop: true` **Steps to reproduce** 1. Open the Swiper #7773 test page. Slide 1 is shown idle (1.0s). 2. Click **Start autoplay** (5.2s). 3. The carousel advances once to Slide 2 (9.0s). 4. Wait more than 2 s. Nothing else happens (11.0s onward). **Expected** Autoplay moves to the next slide about every 2 s. It cycles through all 4 slides and loops back to Slide 1. **Actual** Autoplay advances only once, from Slide 1 to Slide 2, then stops on slide 2 of 4. The transitions counter stays at 2. The no change timer grows from 3.6 s (11.0s) to 15.6 s (23.0s). At 13.0s the page shows a banner saying it is stuck on slide 2 with no transition in 5 s (speed: 0 / waitForTransition bug). **Evidence** - 9.0s: Control. The first autoplay advance works: transitions: 2, slide 2 of 4. - 11.0s: First bad moment. No change for 3.6 s, past the 2 000 ms delay. The progress bar is empty. - 13.0s: The stuck warning banner appears. - 23.0s: Still on slide 2 of 4, no change for 15.6 s. - 0s: Console warning about the Swiper script loaded via `document.write`. The script loaded fine, so this is likely unrelated. **Suggested area** Autoplay scheduling when `speed` is 0. With no CSS transition, `transitionEnd` may never fire, so autoplay waits forever for it (waitForTransition path). *Recorded with SceneRecap.*
This report was written by SceneRecap from a screen recording. Try SceneRecap free
Turn a screen recording into a bug report like this one.
Repro steps, expected vs actual and the console and network evidence, each with a timestamp. On every plan, Free included.
Try SceneRecap free →