Skip to content

[Bug]: When BottomSheet content height change dynamically, it close the BottomSheet #2176

Open
@MaximeDemurger

Description

@MaximeDemurger

Version

v5

Reanimated Version

v3

Gesture Handler Version

v2

Platforms

iOS, Android

What happened?

When i try to open the BottomSheet using expand and the content height change it close automatically the BottomSheet

Reproduction steps

  • Press Open Size : 200
  • Close the BottomSheet
  • Press Open BottomSheet with Dynamic Size
  • Wait 3000ms
  • It close automatically
  • Press Open BottomSheet with Dynamic Size
  • The content height is different due to the new height of the content

Reproduction sample

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

Relevant log output

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