gorhom / react-native-bottom-sheet

A performant interactive bottom sheet with fully configurable options 🚀
https://gorhom.dev/react-native-bottom-sheet/
MIT License
7.09k stars 779 forks source link

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

Open sgup opened 1 week ago

sgup commented 1 week ago

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

Reproduction sample

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

Relevant log output

No response

sergeymild commented 1 week ago

you have to define disappearsOnIndex for example disappearsOnIndex={-1} as well to make it working