akiran / akiran/react-slick

Add .slick-active class on slides that are visible

Aperta
#764 15 commenti 18 reazioni 0 assegnatari Vedi su GitHub
priority: High
Lingua principale
JavaScript
Stelle
11.9k
Fork
2.1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

When reaching the end of a finite slider with multiple slides, not all of them do get the `.slick-active` class.

Here's a little snapshot to describe the issue.

The slider is set up as following:
```
slidesToShow={4}
slidesToSroll={4}
infinite={false}
```

Initial - first 4 slides visible
```






```

After click on next arrow (actual behavoir) - last 4 slides visible
```







```

After click on next arrow (expeted behavoir) - last 4 slides visible
```







```

Is this an expected bahvoir? If not, I've a fix ready and I'm happy to file a pull request.

Best

Roland

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.