akiran / akiran/react-slick

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

Offen
#2,017 3 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
11.9k
Forks
2.1k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.