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 stuck when autoplay with speed 0 #7773

Open
5 of 6 tasks
Eric-llos opened this issue Oct 18, 2024 · 4 comments
Open
5 of 6 tasks

Swiper stuck when autoplay with speed 0 #7773

Eric-llos opened this issue Oct 18, 2024 · 4 comments

Comments

@Eric-llos
Copy link

Check that this is really a bug

  • I confirm

Reproduction link

https://codesandbox.io/p/sandbox/swiper-autoplay-forked-57n97t?file=%2Findex.html

Bug description

The swiper get stuck at second slide if we add autoplay with speed 0. If you change the speed to some number, it works as expected.

Expected Behavior

It should autoplay and go to next slides every 2500ms

Actual Behavior

It only go to the second slide and then it stops there. No way the swiper keep "autoplaying"

Swiper version

11.1.14

Platform/Target and Browser Versions

macOS Google Chrome 129.0.6668.101

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
@jakebonin
Copy link

Came across the same issue. Remove loop=true prop (React) and it works as expected

@Eric-llos
Copy link
Author

Came across the same issue. Remove loop=true prop (React) and it works as expected

Yeah, but I actually need the loop true

@jakebonin
Copy link

jakebonin commented Oct 22, 2024 via email

@Eric-llos
Copy link
Author

Weirdly it still loops for me even without loop true

I've actually have it without loop=true (as you can see in my reproduction link) and still stuck :/ weird, yes

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