Description
Check that this is really a bug
- I confirm
Reproduction link
Bug description
When I create a slider using the effect: "cards"
and loop: true
, the slider will sometimes skip a slide (eg going from Slide 1 to Slide 3 instead of Slide 2) when progressing forwards through the slider.
(If I revert my project back to version 11.1.15 it works fine.)
Expected Behavior
When I create a slider with loop:true and the card effect, the slides should progress through in linear order without skipping a slide. Clicking 'next' from slide 1 should result in a smooth transition to slide 2.
Actual Behavior
For some of the transitions, the slide seems to change instantly to the next slide then play an animation and go to the next slide after that.
Eg, I am on slide 1, I click the next arrow, the slide seems to instantly change to slide 2 then animate to slide 3.
The effect is like the slide I want is instantly skipped.
Swiper version
11.2.4
Platform/Target and Browser Versions
macOS chrome 133.0.6943.127
Validations
- Follow our Code of Conduct
- Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
- Make sure this is a Swiper issue and not a framework-specific issue
Would you like to open a PR for this bug?
- I'm willing to open a PR