splide
splide copied to clipboard
Jump between first and last slide with infinity
Checks
- [X] Not a duplicate.
- [X] 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
v3.6.8
Description
I created an example https://codepen.io/docjers/pen/XWEeWjm with all current slide settings, the problem is that when we use type: 'loop', autoWidth: true and updateOnMove: true, there is a jump between first and last slide, how can I fix this moment? I already tried everything and did not find a solution. The task of the slider is to change the width of the inactive and active slide
Reproduction Link
https://codepen.io/docjers/pen/XWEeWjm
Steps to Reproduce
- scroll from the first slide to the last and from the last to the first
Expected Behaviour
- it is necessary that when moving from the first to the last or from the last to the first slide, there would be no jump visible, it feels like the slider specifically rewinds the entire carousel to the first or last slide
- When the slider is loaded for the first time, the slider is not in the middle