akiran / akiran/react-slick

visible image and index received from before-/afterChange are out of sync

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

説明

In my app I use the `Slider` to display a list of images. I also make use of the `afterChange` callback because I display additional information about the displayed image (date, photo number, ...).

If you click very fast through the gallery, the afterChange callback will be skipped now and then, which leads to the fact that the displayed information does not correspond with the visible picture any more

![Bildschirmfoto 2019-09-19 um 14 36 37](https://user-images.githubusercontent.com/6348294/65244592-31d93900-daeb-11e9-85df-1a430943b28f.png)

https://codesandbox.io/s/react-slick-playground-phyw7

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

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

評価

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

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

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