-
-
Notifications
You must be signed in to change notification settings - Fork 916
Closed
Labels
Description
Bug
The sheet is placed behind the @react-navigation/native modal.
Environment info
| Library | Version |
|---|---|
| @gorhom/bottom-sheet | 4.1.5 |
| react-native | 0.67.2 |
| react-native-reanimated | 2.3.1 |
| react-native-gesture-handler | 2.2.0 |
Steps To Reproduce
- Create a NativeStack
- Place the BottomSheetModalProvider like this:
<NavigationContainer>
<BottomSheetModalProvider>
<StackNavigator />
</BottomSheetModalProvider>
</NavigationContainer>- Use the
<BottomSheetModal>in a screen withpresentation: "modal".
Describe what you expected to happen:
The sheet is placed behind the modal. I expect the sheet to be in front of the modal that hosts the sheet. I've also tried wrapping the modal-component with the provider, but then I get 'BottomSheetModalInternalContext' cannot be null!.
Reproducible sample code
The snack template throws an error: Cannot convert undefined or null to object
IngyuTae, mobily, samuelbeaulieu, rantingmong, MarceloPrado and 4 more