Slider Jumps Back To First Slide After State Change
Ouverte
- Langage dominant
- JavaScript
- Étoiles
- 11.9k
- Forks
- 2.1k
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
I'm having an issue with slide when selecting a div inside the slider.
The divs have an onClick function which changes the state of the current selected div with useState hook. This causes the slider to jump back to the first slide. Is there any way to fix this behavior?
Note: It does do the selection.
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.