akiran / akiran/react-slick

Last and second last images in the asNavFor slider doesn't come into centre in second slider upon sliding to the image in first slider

Đang mở
#2,034 0 bình luận 0 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ả

I have to sliders using asNavFor with `infinite=false` in both sliders and `centerMode=true` in second slider. When moving the images in the first slider, the images in the second slider syncs properly with the above slider till the 3rd last image, after that the last two images don't come into the centre view as the previous ones did. The last image remains completely out of view.

Is there a setting option or a way to fix this behaviour without turning `infinite` to `true`

[Link to sandbox](https://codesandbox.io/s/ppwkk5l6xx)

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.