-
-
Notifications
You must be signed in to change notification settings - Fork 441
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Checks
- Not a duplicate.
- Not a question, feature request, or anything other than a bug report directly related to Splide. Use Discussions for these topics: https://github.com/Splidejs/splide/discussions
Version
v4.1.4
Description
When in loop mode, and if the slides are equal to or less than perPage, the autoplay doesn't seem to work. For example, I have 2 slides with this config:
{
"type": "loop",
"autoplay": true,
"mediaQuery": "min",
"perPage": 1,
"breakpoints": {
"1024": {
"perPage": 2
}
}
}
So on >1024px viewport, it doesn't work.
Even trying to force play() doesn't work. I've seen similar questions where answers were just "Why do you want to autoplay if you don't have enough slides?" - but this is with loop. So there is definitely enough slides (the user can manually drag through the duplicates).
Reproduction Link
No response
Steps to Reproduce
- Use the above options.
Expected Behaviour
The autoplay works with the above options.
YvetteNikolov
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working