Repository navigation
BottomSheetBackdrop will not appear if there is only one snap point. #1566
Answered
by
RamsayRomero
RamsayRomero
asked this question in
Q&A
|
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 |
Answered by
RamsayRomero
Mar 1, 2024
Replies: 1 comment 1 reply
|
@RamsayRomero Did you ever solve this? My backdrop doesn't appear either... using BottomSheetModal |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, you just need to set the
disappearsOnIndexprop of theBottomSheetBackdropcomponent 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.