akiran / akiran/react-slick

Lazyload fails to load items on previous page

Abierto
#1,906 1 comentario 0 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

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)

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.