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

how to fullscreen with react-navigation #60

Closed
jxzy999 opened this issue Sep 6, 2019 · 3 comments
Closed

how to fullscreen with react-navigation #60

jxzy999 opened this issue Sep 6, 2019 · 3 comments

Comments

@jxzy999
Copy link

jxzy999 commented Sep 6, 2019

When I used with react-navigation, the backdrop start under navigation Bar. But I need the fullscreen Mask,how to set it?

@jxzy999
Copy link
Author

jxzy999 commented Sep 6, 2019

IMG_0001
how to get a fullscreen Mask?

@jxzy999
Copy link
Author

jxzy999 commented Sep 6, 2019

I use the unrecommended prop withReactModal ,and get a fullscreen Mask. however withReactModal will not support in the future?

@jxzy999 jxzy999 closed this as completed Sep 6, 2019
@jeremybarbet
Copy link
Owner

jeremybarbet commented Oct 1, 2019

Hi!

withReactModal has a warning because the Modal component was supposed to be removed from the React Native core and be reworked. But it's not the case, and I'm not sure what are the plans now.

Anyway, you can use this prop safely for now. Another solution would be to wrap your app at the root with a provider, that would take care of toggling the Modalize.

Ps: using withReactModal breaks the gesture on android, which is a known issue from react-native and react-native-gesture-handler libraries

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