akiran / akiran/react-slick

Unexpected autoplay behavior

Offen
#2,176 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
11.9k
Forks
2.1k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.