Open
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:
<Router history={nativeHistory}>
<StackRoute path="master" component={Master}>
<StackRoute path="master2" component={Master}>
<Route path="/" component={Home} overlayComponent={HomeHeader} />
<Route path="/detail/:themeColor" component={Detail} overlayComponent={DetailHeader} />
</StackRoute>
<Route
path="/modal"
component={Modal}
transition="vertical-card-stack"
/>
</StackRoute>
</Router>
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 <TabsRoute>
and <StackRoute>
cannot be nested within <StackRoute>
. So I know this wasn't intended to be done like this ;)
Is there another way to handle this?
Metadata
Metadata
Assignees
Labels
No labels