-
Notifications
You must be signed in to change notification settings - Fork 262
Toast appears behind tabs on iOS when using React Navigation TabNavigator #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Same issue for me. I'm using Modal but Toast appears behind the modal. I need that toast to be above the Modal. |
我也出现同样的问题,Toast提示框出现在了Tabbar下面,Tabbar使用的是react-native-tab-navigator |
Hello, you can wrap your Nav component like this:
|
Did anyone get this working? |
i made a pull request you can check. |
Any chance we can get that pull requrest approved? |
When using the React Navigation TabNavigator on iOS (https://reactnavigation.org/docs/navigators/tab) the tabs appear at the bottom of the screen. When the Toast appears in the default position of "bottom" the Toast appears behind the tabs.
Changing the zIndex of the Toast style doesn't seem to make any difference.
The only way I've been able to manage this for now is using the positionValue to raise the position of the Toast above the tabs.
The text was updated successfully, but these errors were encountered: