akiran / akiran/react-slick

Arrow click restarts carousel

Aperta
#1,814 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
11.9k
Fork
2.1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

since this is the last React carousel I'll ever need it should have all the features I need

at present I have `pauseOnHover: true`, which means that if the user moves the mouse over the carousel, it stops sliding. good. but if the user clicks on one of the arrows, the carousels starts autosliding again! no good!!

if I'm clicking, I want to be in control. I don't want that thing sliding off from under me. so the autoslide should only be turned back on once the user stops hovering over the carousel

I hope the above is clear as to what the problem is and why it should behave differently

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.