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

Swiper Element / Svelte / two row infinite smooth autoplay loop issue #7518

Open
5 of 6 tasks
eftichis0202 opened this issue May 4, 2024 · 0 comments
Open
5 of 6 tasks

Comments

@eftichis0202
Copy link

Check that this is really a bug

  • I confirm

Reproduction link

https://codesandbox.io/p/sandbox/hg2ydd

Bug description

Good day,

i am trying to set up the swiper with two rows, and just loop them smoothly and infinitely.

this is the current set-up:

<swiper-container space-between={spaceBetween} centered-slides={false} direction="horizontal" loop={true} free-mode={true} loopAddblankSlides={false} speed={1000} infinite={true} grid={{ rows: 2, fill: 'row' }} autoplay={{ delay: 0 }} freeMode={true} breakpoints={{ 320: { slidesPerView: 3, spaceBetween: 30 // Consistent space for simplicity } }} pagination={{ el: '.swiper-pagination' }} rewind={false} > <swiper-slide>Slide 1</swiper-slide> <swiper-slide>Slide 2</swiper-slide> <swiper-slide>Slide 3</swiper-slide> <swiper-slide>Slide 4</swiper-slide> <swiper-slide>Slide 5</swiper-slide> <swiper-slide>Slide 6</swiper-slide> <swiper-slide>Slide 7</swiper-slide> <swiper-slide>Slide 8</swiper-slide> </swiper-container>

This does not work as intended - it pauses a bit after each change, and then continues. I would like to have a continuous slider that simply scrolls right to left infinitely.

Thank you for your help.

Expected Behavior

No response

Actual Behavior

No response

Swiper version

"swiper": "^11.1.1"

Platform/Target and Browser Versions

macOs Google Chrome

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
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

1 participant