jmurzy / jmurzy/react-router-native
Handling modals
- Dominant language
- JavaScript
- Stars
- 639
- Forks
- 38
- PR merge metrics
- No merged PRs in 30d
Description
For of all, thank you for creating this library and experimenting with it. I really like the stated goals.
I've been dreaming of having easy deep linking in a native app for a long time ;)
Now, I'm trying to see how to handle modal screens (fullscreen or popups).
So far I've tried the following:
``` jsx
```
It works partially:
- when I navigate to `/modal`, I get the correct behavior the first time
- if I go back and navigate again, the modal gets displayed twice quickly
- navigating to `/detail/:themeColor` animates the nav bar incorrectly
Also there's a warning displayed that says `` and `` cannot be nested within ``. So I know this wasn't intended to be done like this ;)
Is there another way to handle this?
Contributor guide
Assessment
This issue has not been assessed yet.