-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Autoplay just plays one time - v10.3.0 #7060
Comments
Just experienced the same. This also occurs with https://codesandbox.io/s/swiper-autoplay-forked-phffl2?file=/index.html:2098-2132 Version 10.2 seems to work fine for me. |
It happens due to the following changes in the core:
The previous implementation was: It has been modified to: Consequently, the function no longer passes Additionally, setting |
same problem with same 10.3.0 |
I can confirm the autoplay issue using swiper 10.3.0 (importing swiper as module). Slider swipes one time and then freezes. In my case it is not working even when setting Until this is fixed in the package we can set |
Check that this is really a bug
Reproduction link
https://codepen.io/zzseba78-the-reactor/pen/BavYLpQ
Bug description
Autplay plays one time and then stops if
disableOnInteraction: true
( or not set, defaults to true ) and no interaction on the slider at all. Works as expected ifdisableOnInteraction: false
Expected Behavior
Autoplay plays as always.
Actual Behavior
Play once and then stops. Seems that same case as this one: #7059
Swiper version
10.3.0
Platform/Target and Browser Versions
macOs, Chrome, Firefox, Safari ( all latest )
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: