BottomSheetBackdrop will not appear if there is only one snap point. #1566
-
If I only set one snap point, there's nothing I can do to get the BottomSheetBackdrop to appear. Since only the 0th index exists, the bottom sheet should appear if I set |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@RamsayRomero Did you ever solve this? My backdrop doesn't appear either... using BottomSheetModal |
Beta Was this translation helpful? Give feedback.
Yes, you just need to set the
disappearsOnIndex
prop of theBottomSheetBackdrop
component to -1. The default is 0 so it will never appear on the 0th index. I think this is an unintuitive default and the library should consider changing it.