splide icon indicating copy to clipboard operation
splide copied to clipboard

Progress bar overflow when pressing previous button with multiple slides

Open ToshY opened this issue 3 years ago • 0 comments

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.

ToshY avatar Jul 15 '22 22:07 ToshY