-
Notifications
You must be signed in to change notification settings - Fork 24
navigation.dispatch, Go Back Not working #22
Description
after i try to reuse my react-native project in web i found couple of issues on react-navigation
Example of project is here in codesandbox
issue 1 : (navigation.goBack not working)
app landing in transaction page and will be show 2 item:
on Press one item will be navigate to transactionDetails page with params and working as well
but on click back button on header navigation.goBack not working
step to reproduce: tansaction-> transactionDetails -> Back
issue 2: (NavigationService.reset not working)
after navigate to transaction detail and push navigation reset button reset not working like below issue:
#20
get reset from ref not working but navigationService.navigate working as well
step to reproduce: tansaction-> transactionDetails -> Navigation Reset
issue 3: (navigation with object params refresh issue)
in this case in url query string will be set [object Object] but after navigate in get params data is exsit and working fine in case landing with navigate
in refresh page app get exeption becouse there is no data
example : /TransactionDetail?transaction=[object Object]
step to reproduce : tansaction-> transactionDetails
issue 4: (navigation with string params when route inside other createSwitchNavigator)
in case navigate with params not working as well and params in undefiend but in refresh page get params from query string as well
step to reproduce: TopUp -> select Operator -> check operatorCode: (undefined | Number)
Your Environment
| software | version |
|---|---|
| react-navigation core | "3.2.0" |
| react-navigation web | "1.0.0-alpha.7" |
| react-native-web | "0.11.2" |
| node | 8 |
| npm or yarn | yarn |