akiran / akiran/react-slick

Item gets stuck off-center while scrolling vertically/diagonally

Offen
#1,557 6 Kommentare 5 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
11.9k
Forks
2.1k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.