akiran / akiran/react-slick

Dots state error when "SlideToshow" uses decimal value and infinite false.

Aperta
#2,017 3 commenti 1 reazione 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

Hi react slick team, I have a problem where the last dots are not active when I slide to the last page, I use slidetoshow value 2.5 and infinite false.
I tried to fix it but no props can change dots state directly

![image](https://user-images.githubusercontent.com/33473051/114114556-48342900-990b-11eb-99cc-bebe0aee9ced.png)

I got an error in the browser console

![image](https://user-images.githubusercontent.com/33473051/114114667-803b6c00-990b-11eb-8c8e-af95ed3995d2.png)

this is example code in the sandbox

https://codesandbox.io/s/react-slick-playground-forked-5gz8s?file=/index.js

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.