-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Description
Version
Tell us which versions you are using (react native 0.26 is required for v3):
- react-native-router-flux v3.26.0
- react-native v0.26.2
Expected behaviour
The navigator should route to the UserView within its current tab. This was working with v2 and a similar route setup.
Actual behaviour
The navigator routes always to the UserView in the last tab defined.
Steps to reproduce
/* <Scene key='modal' component={Modal} > */
/* <Scene key='root' > */
<Scene key='homeView' tabs>
<Scene key='addTab' title='create' icon={TabIconComponent}>
<Scene key='add' component={CreateTabView} title='Create' />
<Scene key='user' component={UserView} title='User' />
</Scene>
<Scene key='peopleTab' title='people' icon={TabIconComponent}>
<Scene key='people' component={PeopleContainer} title='People' />
<Scene key='user' component={UserView} title='User' />
</Scene>
</Scene>Actions.add() -> Actions.user() => now we are in peopleTab -> user instead of addTab -> user
Metadata
Metadata
Assignees
Labels
No labels