akiran / akiran/react-slick

Item gets stuck off-center while scrolling vertically/diagonally

Đang mở
#1,557 6 bình luận 5 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've spotted an issue where the item gets stuck off-center when you swipe upwards as well as horizontally.

![](https://media.giphy.com/media/1wmcBzAlPq0MO3IoQC/giphy.gif)

As you can see the card gets stuck to the side when scrolling vertically as well as horizontally.

This same example can be replicated on the example given on https://react-slick.neostack.com/ - though it's harder to notice because of the lack of padding.

![](https://media.giphy.com/media/xUo3PIFfjyVST7AHS6/giphy.gif)

Expected outcome:

The card should bounce back to the center, as it normally does, when swiping vertically combined with horizontally.

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.