Skip to content
This repository has been archived by the owner on May 20, 2021. It is now read-only.

navigation go back not working on web #41

Open
soroushm opened this issue Apr 13, 2019 · 7 comments
Open

navigation go back not working on web #41

soroushm opened this issue Apr 13, 2019 · 7 comments

Comments

@soroushm
Copy link

unfortunately navigation go back not working on web

this.props.navigation.goBack(null)
Functions is exist

after some check i realized in getNavigationActionCreators.js this "import NavigationActions from '../NavigationActions'; " not working as well and NavigationActions is not defiend

Screenshot from 2019-04-13 10-46-45

"@react-navigation/core": "^3.3.1",
"@react-navigation/web": "^1.0.0-alpha.7",

#21

@satya164 satya164 transferred this issue from react-navigation/core Oct 1, 2019
@asha15
Copy link

asha15 commented Oct 11, 2019

@soroushm Shall i try to dolve this?

@soroushm
Copy link
Author

soroushm commented Oct 11, 2019

@asha15 if you can solve try,
I don't know what is the current status on this issue a lot of changes in react-navigation core and I left over this library
Also, I'm Available to help you

@asha15
Copy link

asha15 commented Oct 12, 2019

@soroushm Thank you.
Can i know where the file is located at?

@espipj
Copy link

espipj commented Dec 8, 2019

Having this same issue 😢

@imAliAzhar
Copy link

Same issue :(

@imAliAzhar
Copy link

As a workaround you can use
if (Platform.OS === "web") window.history.back();

@lesmo
Copy link

lesmo commented Dec 14, 2019

As a workaround you can use
if (Platform.OS === "web") window.history.back();

I'm developing a new App, and this issue happens either way. The browser history stack is modified (via scripting or user click of the back button) but the components are not re-rendered. I believe that's where the problem is.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants