akiran / akiran/react-slick

Infinite loop has a weird behavior at the end.

オープン
#1,315 コメント 4 件 リアクション 11 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
11.9k
フォーク
2.1k
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。