You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 8, 2025. It is now read-only.
Describe the bug
When the autoplay plugin is used without infinite, two things happen:
at the end, it just stays in the last slide instead of going back to the first one;
however, the onChange callback is fired with an out of bounds increment (which causes Dots to wrap back to the beginning, but the carousel remains in the last slide).
To Reproduce
Create a carousel with autoplay, but without infinite.
Expected behavior
The carousel should either go back to the first slide and keep autoplaying from there, or it should not call onChange with an out of bound value.