akiran / akiran/react-slick

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

Đang mở
#2,017 3 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
11.9k
Fork
2.1k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.