Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loop with slidesPerView Auto #7312

Open
5 of 6 tasks
riw opened this issue Feb 12, 2024 · 1 comment
Open
5 of 6 tasks

Loop with slidesPerView Auto #7312

riw opened this issue Feb 12, 2024 · 1 comment

Comments

@riw
Copy link

riw commented Feb 12, 2024

Check that this is really a bug

  • 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

  • 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
@yousekle
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants