slick-dots .slick-active UI bug with state hooks
Ouverte
- Langage dominant
- JavaScript
- Étoiles
- 11.9k
- Forks
- 2.1k
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Updating state (useState) from a `beforeChange` callback, delays the setting of `.slick-active` class, until the `afterChange` event. That class is normally applied from the `beforeChange` event.
https://codesandbox.io/embed/0y8yl31pwn
There must be an explanation on why this is happening,
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.