Skip to content
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

[suggestion] modal independent of navigation #2174

Closed
peixin opened this issue Aug 3, 2017 · 1 comment
Closed

[suggestion] modal independent of navigation #2174

peixin opened this issue Aug 3, 2017 · 1 comment

Comments

@peixin
Copy link

peixin commented Aug 3, 2017

I think modal should be on top of navigation. and have its own logic.

Now in react-native-router-flux. If you want to hide modal and pop scene together. muse be setTimeout(Actions.pop, xxx) twice. and Modal.dismiss() not working.

@aksonov
Copy link
Owner

aksonov commented Aug 3, 2017

modal within RNRF v4 is bottom-to-top navigation, nothing about Modal from React Native. For popups you could use lightbox as shown within Example project. With lightbox you could use Actions.pop without problems.

@aksonov aksonov closed this as completed Aug 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants