Open andreiwow2 opened 1 year ago
Exactly the same issue here observed on Android. I've not worked out a solution yet..
Other portal libraries like react-native-paper and react-native-portalize behave the same unfortunately..
You can solve this by using FullWindowOverlay
from rn-screens
<Portal>
<FullWindowOverlay>
{/* Your component */}
</FullWindowOverlay>
</Portal>
You can solve this by using
FullWindowOverlay
from rn-screens<Portal> <FullWindowOverlay> {/* Your component */} </FullWindowOverlay> </Portal>
But this is just valid for IOS
You can solve this by using
FullWindowOverlay
from rn-screens<Portal> <FullWindowOverlay> {/* Your component */} </FullWindowOverlay> </Portal>
This works however, when I change the theme it decided to go behind the modal? Then I have to clear cache to make it work :(
add
<Statusbar translucent />
If you ment react-native-navigation ( from wix ):
I have to hide the bottom tab bar using mergeOptions
Navigation.mergeOptions(componentId, {
bottomTabs: {
visible: false,
animate: true, // Optional: use it to animate the transition
},
});
As noticed in the below image, my portal, which is the red background with the input, is placed inbetween the navigation view, I want it to be teleported above everything.
The host is placed in App.tsx like this
Any idea how could I achieve what I am trying to do?