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

navigation go back not working on web #41

Open

Description

@soroushm

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

Activity

  1. asha15 commented on Oct 11, 2019

    @asha15

    @soroushm Shall i try to dolve this?

  2. soroushm commented on Oct 11, 2019

    @soroushm
    Author

    @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

  3. asha15 commented on Oct 12, 2019

    @asha15

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

  4. espipj commented on Dec 8, 2019

    @espipj

    Having this same issue 😢

  5. imaliazhar commented on Dec 10, 2019

    @imaliazhar

    Same issue :(

  6. imaliazhar commented on Dec 10, 2019

    @imaliazhar

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

  7. lesmo commented on Dec 14, 2019

    @lesmo

    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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions