akiran / akiran/react-slick

Delay Bug with infinite and centerMode

Abierto
#1,234 3 comentarios 4 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
11.9k
Forks
2.1k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

[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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.