Skip to content

[Bug]: BottomSheetBackdrop appearsOnIndex: 0 doesn't work #2036

@sgup

Description

@sgup

Version

v5

Reanimated Version

v3

Gesture Handler Version

v2

Platforms

iOS, Android, Web

What happened?

Can't make BottomSheetBackdrop work for index 0. Trying to make the backdrop always present when bottom sheet is open.

Reproduction steps

  • Add this props to BottomSheet:
snapPoints={["50%", "80%"]}
backdropComponent={(props) => (
  <BottomSheetBackdrop
	  {...{
		  ...props,
		  appearsOnIndex: 0,
	  }}
  />
)}

Reproduction sample

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

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions