Skip to content

[Bug]: Sheet snaps back to the highest snap point when dragging the content after the scrollable was scrolled #2744

Description

@KarolCoder

Version

v5

Reanimated Version

v3

Gesture Handler Version

v2

Platforms

iOS, Android

What happened?

On a sheet with two snap points (['50%', '90%']) and a scrollable inside, once you've scrolled that content while the sheet was expanded, swipe down on the content snaps the sheet back to 90%

Gorhom-scrolling-bug.mov

Reproduction steps

  • Render a BottomSheet with snapPoints={['50%', '90%']} and a lot of items
  • Expand the sheet to 90%
  • Scroll the content down
  • Drag down to 50%
  • Do a small swipe down anywhere in the content, it snaps to 90%

Reproduction sample

https://snack.expo.dev/@karollogodlesiollo/bottom-sheet---issue-reproduction-template

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions