You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 27, 2021. It is now read-only.
Question
How to you link to a detail view in a different tab?
What is the current behavior?
When I click on the link in the root view, on the item page the back button goes back to the root view. How do you make it go back to the items view?
What is the expected behavior?
That it would go back to the items view
Environment (include versions). Did this work in previous versions?
Device: iPhone 8 simulator
OS: iOS 11
React-Native (version): 0.53.3
React-Router (version): 4.2.0
React-Router-Navigation (version): 1.0.0-rc.4
importReact,{Component}from'react'import{Text,View,}from'react-native'import{NativeRouter,Link}from'react-router-native'import{BottomNavigation,Navigation,Card,Tab}from'react-router-navigation'exportdefaultclassAppextendsComponent<Props>{render(){return(<NativeRouter><BottomNavigation><Tablabel="Root"exactpath="/"render={()=>(<Viewstyle={{marginTop: 50}}><Text>Root View</Text><Linkto={'/items/1'}><Text>Go to Item 1</Text></Link></View>)}/><Tablabel="Items"path="/items"render={()=>(<Navigation><Cardpath="/items/:id"render={()=>(<View><Text>Item 1 View</Text></View>)}/><Cardpath="/items"render={()=>(<View><Text>Items View</Text><Linkto={'/items/1'}><Text>Go to Item 1</Text></Link></View>)}/></Navigation>)}/></BottomNavigation></NativeRouter>)}}
The text was updated successfully, but these errors were encountered:
Question
How to you link to a detail view in a different tab?
What is the current behavior?
When I click on the link in the root view, on the item page the back button goes back to the root view. How do you make it go back to the items view?
What is the expected behavior?
That it would go back to the items view
Environment (include versions). Did this work in previous versions?
The text was updated successfully, but these errors were encountered: