-
Notifications
You must be signed in to change notification settings - Fork 28
navigation.dispatch, Go Back Not working #22
Comments
Hello @brentvatne as your request i made example and details for navigation reset and go Back i try to figure out whats happend somting in look like evrey before dispatch working as well but dispatch not working a Big Thanks |
hi @soroushm! thank you for that. we're going to be doing a lot of work on this soon because web is becoming more important to us at expo (https://blog.expo.io/expo-cli-and-sdk-web-support-beta-d0c588221375) so i can justify spending time on it. i don't have an answer for your problem immediately though. |
issue 3 will be fixed with this pull request #26 |
So, may I ask when the fix version will be released? |
@unadlib > So, may I ask when the fix version will be released? temporary you can use window.history.back() |
@soroushm That has a tendency to create a lot of problems and we are experiencing them. Primarily, when back leads to the same page being reloaded. Is this perhaps already fixed on v4 or v5? If so, it's worth the upgrade. If not, not just yet. |
we still haven't had time to prioritize the web implementation, you might want to use react-router for web for now |
any news about this issue? |
working progress in version 5
https://reactnavigation.org/docs/en/web-support.html
…On Mon, Feb 17, 2020 at 9:47 PM Volodymyr Matsola ***@***.***> wrote:
any news about this issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#22?email_source=notifications&email_token=AAH333ZPI3PS7UFVB3BRYILRDLIB7A5CNFSM4HF5MAA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL7JLKA#issuecomment-587109800>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAH3334ZJJTDEZPMK2ROUR3RDLIB7ANCNFSM4HF5MAAQ>
.
|
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
The text was updated successfully, but these errors were encountered: