Skip to content

What is the difference between Bottom Sheet & Bottom Sheet Modal #668

Answered by iway1
ronnaf asked this question in Q&A
Discussion options

You must be logged in to vote

Looking at the code, it looks like BottomSheetModal is just a bottom sheet wrapped in @gorhom/portal.

The purpose is so that you can render your bottom sheet in any component and it will render on top of all of your screens. (Where as with the vanilla bottom sheet, it will render inside the parent view which can look weird if the parent view doesn't take up the full screen etc)

It uses the same bottom sheet component, except that it renders on top of everything else no matter where you render it in your component

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@CuriosBasant
Comment options

@Darren120
Comment options

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