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

slidesPerView is decimal and loop is true #6981

Closed
5 of 6 tasks
ZemanJiri opened this issue Aug 25, 2023 · 2 comments
Closed
5 of 6 tasks

slidesPerView is decimal and loop is true #6981

ZemanJiri opened this issue Aug 25, 2023 · 2 comments
Labels

Comments

@ZemanJiri
Copy link

Check that this is really a bug

  • I confirm

Reproduction link

https://codesandbox.io/p/sandbox/swiper-react-navigation-forked-rl3258?file=/src/App.jsx:31,27

Bug description

I used Swiper 8.4.7. I decided to upgrade to the latest version (10.2.0). But i have problem with slidesPerView. If i set it on decimal value and my second props loop is true. The slider jump from first to last. But it only does it when I have 3 items.

Expected Behavior

Old right behaviour is here: https://www.koop.cz/likvidace-pojistnych-udalosti
Looking for https://snipboard.io/C5Skuh.jpg

Actual Behavior

No response

Swiper version

10.2.0

Platform/Target and Browser Versions

Linux 22.04.3 LTS, Chrome 115.0.5790.170

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
@nolimits4web
Copy link
Owner

Check requirements for loop mode in documentation

@ZemanJiri
Copy link
Author

loopedSlides is way.

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

No branches or pull requests

2 participants