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
TabNavigator screen and Modals #2259
Comments
I found a solution.
|
@bm-software May I ask what does the |
@kinka |
In my case, I just cannot wrap TabNavigator inside React.Component or any other Components. So I wonder why you TabContent can be put inside |
How I figured this out was to...
|
I'm trying to use this library to show a custom modal dialog. I've a StackNavigator with three screens and on of these, the MainScreen, is a TabNavigator on which I set up the following header:
The second button opens a simple Alert (from react-native). With the first button I would open a custom modal to show app and developer details.
The main screen has the following render method;
where TabContent is simply my tabs configuration:
The library linked above requires a layout like this:
but if I put
TabContent
tab inside that view the tab navigator doesn't work anymore.Is there a way to make my TabNavigator and Modal from that library work together?
The text was updated successfully, but these errors were encountered: