You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Depending on the number of slides in the carousel and the slides per view set, the loop behaviour doesn't loop when you get to the last slide, navigation from right to left.
I can't say for sure, but it only seems to be when the slides per view doesn't divid nicely into the number of sliders.
For example, with 6 slide and 4 slides per view, the loop doesn't work. However if you set the slides per view to 3, it does.
Tested with versions
9.4.0
9.3.2
9.2.1
9.2.0
9.0.0
Expected Behavior
For the carousel to loop regardless of this slides to slides per view ratio.
Actual Behavior
Carousel doesn't loop when reaching the end going from right to left.
Check that this is really a bug
Reproduction link
https://codesandbox.io/p/sandbox/swiper-react-default-forked-8x9lqk?file=%2Fsrc%2FApp.jsx%3A24%2C1
Bug description
Depending on the number of slides in the carousel and the slides per view set, the loop behaviour doesn't loop when you get to the last slide, navigation from right to left.
I can't say for sure, but it only seems to be when the slides per view doesn't divid nicely into the number of sliders.
For example, with 6 slide and 4 slides per view, the loop doesn't work. However if you set the slides per view to 3, it does.
Tested with versions
Expected Behavior
For the carousel to loop regardless of this slides to slides per view ratio.
Actual Behavior
Carousel doesn't loop when reaching the end going from right to left.
Swiper version
9.4.0
Platform/Target and Browser Versions
macOS, Chrome Version 114.0.5735.106 (Official Build) (arm64) & MacOS, Firefox 114.0.1 (64-bit)
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: