|
Hi, everyone! I've been looking for an awesome bottom drawer component, and this looks really good so far! I've been reading the documentation but I can't find a section where it describes the use cases of both Bottom Sheet and Bottom Sheet Modal. I'm confused about their intended use because they seem to be similar. I've also been wondering if this project has an interactive example somewhere. Thank you! |
Replies: 3 comments 6 replies
|
Any updates on this yet? I'm also curious on the differences between the 2 |
|
Looking at the code, it looks like BottomSheetModal is just a bottom sheet wrapped in 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 |
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