swiper icon indicating copy to clipboard operation
swiper copied to clipboard

When looping with "slidesPerGroup" it will not correctly update the loop groups when click on Previous navigation button

Open chamikabm opened this issue 3 years ago • 1 comments

Check that this is really a bug

  • [X] I confirm

Reproduction link

https://codesandbox.io/s/swiper-centered-react-forked-b8gw3?file=/src/App.jsx

Bug description

When clicking on the Previous button it will stuck on the same set of group instead of looping through the elements.

Expected Behavior

It should loop through the groups as it behaves when we click on the Next button.

Actual Behavior

No response

Swiper version

7.0.0

Platform/Target and Browser Versions

macOS - Chrome Version 97.0.4692.71

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

chamikabm avatar Jan 14 '22 12:01 chamikabm

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.

stale[bot] avatar Jul 31 '22 21:07 stale[bot]

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.

nolimits4web avatar Feb 01 '23 11:02 nolimits4web