swiper
swiper copied to clipboard
Navigation arrow slides multiple slides per click
Check that this is really a bug
- [X] I confirm
Reproduction link
https://codesandbox.io/s/busy-aryabhata-dmgxkh?file=/src/index.js
Bug description
If the option "slidesPerView" is used, clicking on a navigation arrow causes the slider to be moved by 2 slides instead of 1. How can it be controlled that X slides are moved per click? slidesPerGroup does not seem to work. If the option "loop" is set to true, only 1 slide moves per click. In this case, however, no loop should be used.
Expected Behavior
Only 1 slide per click is moving, or slidesPerGroup has an effect on that behavior.
Actual Behavior
If more than 1 slidePerView is set, 2 slides are sliding per click.
Swiper version
8.3.2
Platform/Target and Browser Versions
Chrome
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