-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Is it possible to open a modal from tab bar? #2822
Comments
The example app contains this case and some similar ones. I would try something similar to this:
|
@mechabyte |
You want your Modal to open from the bottom? If that's right, have a look at #2628 |
I don't know I don't use tab bar on my project :/ give it a try and see ? Should be quick to check if it's doable or not :) |
I tried it like this, but a scene was rendered without vertical transition.
|
It isn't really advertised in the docs, but the author also forked react-native-starter-app and hooked it up to router flux as well-- found here. It shows off some cool tricks hooked into the You edited your original post from launching a modal from a header button, but with the animation provided I think you're referring to something like this?
|
For the |
@mechabyte Do you have any idea?😢 |
it worked by using tabBarOnPress. |
@rayray-py Sorry I missed your previous comment, but glad you got it working! |
@rayray-py can you provide a sample of your working solution? Thanks! |
@fedealconada You've probably already figured this out by now, but I struggled with this a little so I'm posting my solution for anybody else landing here:
Working sample app can be found here: |
I read this issue of react-navigation.
react-navigation/react-navigation#3003
Is it possible to open a modal via tab bar like instagram with react-native-router-flux v4, too?
Tell me how to do it.
Thanks.
The text was updated successfully, but these errors were encountered: