splide
splide copied to clipboard
Progress bar overflow when pressing previous button with multiple slides
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
4.0.7
Description
Having multiple items combined with the supplied sample documentation for progress bar, causes the progress bar to overflow when pressing the previous button.
Reproduction Link
https://codepen.io/toishy/pen/RwMKNWp
Steps to Reproduce
In the supplied codepen, press the left arrow. You'll see that the progress bar width exceeds 100%, causing overflow.
Expected Behaviour
Correct width (smaller than 100%) when pressing the previous button while having multiple slides.