Splidejs / splide

Splide is a lightweight, flexible and accessible slider/carousel written in TypeScript. No dependencies, no Lighthouse errors.
https://splidejs.com
MIT License
4.83k stars 418 forks source link

Autoplay on pause/play starts from 0 instead of where it was paused #1254

Open kratos-digital opened 9 months ago

kratos-digital commented 9 months ago

Checks

Version

v4.1.4

Description

When using autoplay it pauses on hover or by clicking the pause button. But when it starts again it goes from 0, not where the progress was paused. So this is actually start/stop, not start/pause. Is there implementation of actual pause? Definition of pause is that it should start where it was paused, not from the very start.

Reproduction Link

No response

Steps to Reproduce

Create autoplay slider.

Expected Behaviour

Start after pause where progress was paused, not from 0.