akiran / akiran/react-slick

Delay Bug with infinite and centerMode

Offen
#1,234 3 Kommentare 4 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

[reproduced here](https://codesandbox.io/s/81kkmr589j)

click the arrows a few times in the same direction. when the 'infinite' take place (the loop is ended), it takes time to the class 'slide-current' to be added to the center slide.

i've noticed that the delay is equal to the 'speed' option - with all slides its responsible for the animation delay, but from the last slide to the first of the next loop - its just delay with no animation.

i'de love to here if i'm doing something wrong, or if there's a better way to give the center slide a different look, with consistent transition.

thanks.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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