swiper
swiper copied to clipboard
Loop with slidesPerView Auto
Check that this is really a bug
- [X] I confirm
Reproduction link
https://codesandbox.io/p/sandbox/swiper-infinite-loop-forked-76l2gd
Bug description
Maybe my problem is related to issue #7270, but I'm not sure. If you set slidesPerView to auto and loop to true, the active slide no longer snaps to the left edge once you navigate past the last slide. Also, the slides seem to stick to the right edge if you enlarge the browser window at that point.
Expected Behavior
The active slide should always stay on the left and browser resizing should not change that
Actual Behavior
as described in bug description
Swiper version
11.0.6
Platform/Target and Browser Versions
Chrome 121.0.6167.139 on macOS 14.2.1
Validations
- [X] Follow our Code of Conduct
- [X] Read the docs.
- [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
- [X] 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
This issue has not been resolved and still exists in the latest version. When loop and slideperview are enabled at the same time, swiping to the right will show that the slide cannot be displayed without being cloned.Curious to know how to solve this problem