Skip to content

BottomSheetBackdrop will not appear if there is only one snap point. #1566

Answered by RamsayRomero
RamsayRomero asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, you just need to set the disappearsOnIndex prop of the BottomSheetBackdrop 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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@RamsayRomero
Comment options

Answer selected by RamsayRomero
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants