akiran / akiran/react-slick

Lazyload fails to load items on previous page

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

説明

I have a setup of 21 items and 6 items per page as example. When switching from the first page to the last (by pressing previous page) it will only render 3 items.

This is only an issue with `lazyLoad={true}`

Sandbox:
https://codesandbox.io/s/react-slick-playground-forked-f2t97?fontsize=14&hidenavigation=1&theme=dark

![image](https://user-images.githubusercontent.com/9765622/95752720-bec7d500-0ca0-11eb-9776-719f0ff2d497.png)

Just press the left arrow once and you will only see 3 kittens, instead of the expected 6

![image](https://user-images.githubusercontent.com/9765622/95752749-cb4c2d80-0ca0-11eb-8b66-5eebda504e81.png)

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

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

評価

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

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

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