akiran / akiran/react-slick

Infinite loop has a weird behavior at the end.

Ouverte
#1,315 4 commentaires 11 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
11.9k
Forks
2.1k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.