You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using previous and next buttons, the carousel scrolls past the last item
and shows extra empty space after the last item even when overscrollEnabled is set to false. This is obviously do to the next and prev scrolling based on the width of the item and not checking if over-scrolling is occurring. overscrollEnabled={false} works as intended when swiping.
Expected behavior
When clicking next the carousel shouldn't scroll past the last item
Screenshots
Kapture.2024-02-28.at.18.41.45.mp4
Versions (please complete the following information):
Describe the bug
When using previous and next buttons, the carousel scrolls past the last item
and shows extra empty space after the last item even when
overscrollEnabled
is set tofalse
. This is obviously do to thenext
andprev
scrolling based on the width of the item and not checking if over-scrolling is occurring.overscrollEnabled={false}
works as intended when swiping.Expected behavior
When clicking next the carousel shouldn't scroll past the last item
Screenshots
Kapture.2024-02-28.at.18.41.45.mp4
Versions (please complete the following information):
Smartphone (please complete the following information):
Additional context
I can create a PR for this if pointed in the right direction
The text was updated successfully, but these errors were encountered: