akiran / akiran/react-slick

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

Abierto
#1,635 0 comentarios 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

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

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.