This repository has been archived by the owner on Feb 15, 2019. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello. I was struggling for few hours how to display modal using ex-navigation. When I get necessary knowledge I found that new scene always have a default white background and I cannot fix it. I start digging issues without any success. According to #394 this PR should resolve that problem.
To configure route scene we need to override style from ExNavigationStackItem. So far, it was not passed down from anywhere. In our component we just need to define route as follows:
And we can easily use react-native Modal component as follows:
Sorry for PR code formatting. If place where I receive and pass data style is wrong, I will appreciate if any contributor could fix it. Also, hope I made everything ok with PR - it's my first one :)