slickGoTo has the wrong animation direction when moving from the first to last index
Đang mở
bug
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ả
### "slickGoTo" has the wrong animation direction when moving from the first to last index and from last to first
Codesandbox example: https://codesandbox.io/s/slickgoto-issue-dhf76
Steps to reproduce:
- Go to https://dhf76.csb.app/
- Click on 1, 2, 3 and you'll see that the animation works ok
- Now try clicking on 1 and then 10
Current result: The animation moves to the right from 1 all over to 10.
Expected result: The animation moves to the left just 1 slide.
This happens either way if infinite is set to true in center mode
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.