akiran / akiran/react-slick

Infinite loop has a weird behavior at the end.

Abierto
#1,315 4 comentarios 11 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

Hi, I found a weird behavior on infinite sliding, when I arrive to the end of slide list and click next it go in the other way and when I click next again it start again from 1. It's not an 'infinite' behavior to me, it need to slide normally even if we reach the last slide and need to start from the first one.

Here is an example of this behavior, you just need to click next until it loop to the first one and you shall see the weirdness :).

https://codesandbox.io/s/2pppvv4q7p

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.