Slider Jumps Back To First Slide After State Change
Aperta
- Lingua principale
- JavaScript
- Stelle
- 11.9k
- Fork
- 2.1k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.