akiran / akiran/react-slick

Item gets stuck off-center while scrolling vertically/diagonally

Aperta
#1,557 6 commenti 5 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
11.9k
Fork
2.1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.