Open Robert27 opened 1 month ago
In general on android it shouldn’t be needed. On iOS it allows to render on top of screens that have a modal presentation, otherwise it will display under the modal screen and won’t be visible. Is there a case on android where this is a problem?
I use the BottomSheet within BottomTabs with Expo Router. On iOS, the sheet covers the BottomBar, on Android the sheet only starts above the BottomBar.
I have already experimented, if you remove the ModalProvider here and instead place one in the root stack of the app, then the bottom sheet also covers the bottom bar on Android.
Therefore, I would suggest an option with which you can deactivate the internal provider, by just returning a react fragment.
iOS uses FullWindowOverlay to achieve a fullscreen modal. Is something like this also possible on Android?