Dynamic bullets are reset in loop mode when the last slide reached
abachyla opened this issue · comments
Check that this is really a bug
- I confirm
Reproduction link
https://codesandbox.io/p/sandbox/swiper-pagination-dynamic-forked-grl65r
Bug description
When loop mode and pagination dynamic bullets are activated, if a user swipes from the last slide to the first, the dynamic bullets reset to their original state. This might cause confusion because it looks like the last slide has no next slides, and similarly, it's not evident on the first slide that swiping right to the last slide is possible.
Expected Behavior
Dynamic bullets should not reset.
Actual Behavior
Dynamic bullets are reset.
Swiper version
11.1.3
Platform/Target and Browser Versions
Chrome/Safari/Firefox
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