akiran / akiran/react-slick

.slick-active not on correct slicks

Đang mở
#1,183 7 bình luận 0 reaction 0 người được giao Xem trên GitHub
priority: High
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ả

https://codesandbox.io/s/jlk8n3z9v9

1. Inspect the elements, found `slick-active` class name is added properly to the first 4 slicks.
2. Click `>` arrow button to flip to next page.
3. Inspect again, now `slick-active` class is added to elements outside the viewport.

We can only detect the active items on the viewport when we can see accurately which ones are active slicks.

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.