swiper
swiper copied to clipboard
Thumbs gallery loop
Check that this is really a bug
- [X] I confirm
Reproduction link
https://codesandbox.io/s/swiper-thumbs-gallery-loop-forked-qz7nm
Bug description
If you set "slidesPerView" / 2 less than total slides then when next or previous slides incorrect index.
Expected Behavior
No response
Actual Behavior
No response
Swiper version
7.3.1
Platform/Target and Browser Versions
Windows 10, Chrome 96, FireFox 95
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 been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Swiper v9 comes with fully reworked and now different loop functionality. If you have similar issues in Swiper 9, open a new issue with a CodeSandbox showing the issue.