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
I have a looping slider that has this weird wrap around after it reaches the last splide. I can confirm its not even a 'Rewind : True' somehow being set on it because trying to configure the wrap around time using 'rewindSpeed
: 2000' does not affect the rewind time. In addition i explicitly have "type: "loop" meaning rewind option should be ignored.
The first time i had it, I fixed it by setting 'autoHeight: true' and 'autoWidth: true' to my base config because I suspected Splide was having an issue figuring out the width of each slide. While it did fix the wrap around issue it caused the same stutter described in this issue. I then somehow regressed and the splides started wrapping around again.
Heres a js fiddle with a more complete setup of my old version. Its really a standard splide setup (besides the animated bg gradients)
Steps to Reproduce
Use my older splide config on a standard splide setup and you should get the weird stutter issue im describing
On my new splide config it just rewinds when reaching the last splide.
Expected Behaviour
The splides are supposed to infinitely loop smoothly with no stutter or wrapping. I can confirm Splide is still auto generating clones at runtime meaning the 'type:loop' option is working partially.
The text was updated successfully, but these errors were encountered:
Checks
Version
v4.1.4
Description
Heres a video showing my current splide with the rewind issue:
Heres a video showing the older version of my splide where i fixed the rewind issue but the Splide would stutter reaching the end:
I have a looping slider that has this weird wrap around after it reaches the last splide. I can confirm its not even a 'Rewind : True' somehow being set on it because trying to configure the wrap around time using 'rewindSpeed
: 2000' does not affect the rewind time. In addition i explicitly have "type: "loop" meaning rewind option should be ignored.
The first time i had it, I fixed it by setting 'autoHeight: true' and 'autoWidth: true' to my base config because I suspected Splide was having an issue figuring out the width of each slide. While it did fix the wrap around issue it caused the same stutter described in this issue. I then somehow regressed and the splides started wrapping around again.
Heres my current Splide config
Heres my older splide config
Reproduction Link
Heres a js fiddle with a more complete setup of my old version. Its really a standard splide setup (besides the animated bg gradients)
Steps to Reproduce
Use my older splide config on a standard splide setup and you should get the weird stutter issue im describing
On my new splide config it just rewinds when reaching the last splide.
Expected Behaviour
The splides are supposed to infinitely loop smoothly with no stutter or wrapping. I can confirm Splide is still auto generating clones at runtime meaning the 'type:loop' option is working partially.
The text was updated successfully, but these errors were encountered: