akiran / akiran/react-slick

Unexpected autoplay behavior

Open
#2,176 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
11.9k
Forks
2.1k
PR merge metrics
No merged PRs in 30d

Description

I wanted to use `react-slick` in my project, since it's less than half the size of alternative libraries, but the autoplay feature seems to be pretty buggy.

The most noticeable and consistent issue is a small delay between transition animations, causing the loop to "jump".

Beyond that there are the issues others have mentioned, including random pausing on page interactions. I've also seen the carousel reverse directions for several slides, stopping, then continuing in the correct direction when switching tabs.

I have a [CodeSandbox demo here](https://codesandbox.io/s/react-slick-playground-forked-fnebl6), but these issues can also be seen on [your own demo](https://react-slick.neostack.com/docs/example/auto-play/) - particularly the reverse direction issue, which I have not seen in the CodeSandbox.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.