Skip to content

Navigation breaks after closing modal and navigating back #1350

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
tsonevn opened this issue May 28, 2018 · 0 comments · Fixed by #1349
Closed

Navigation breaks after closing modal and navigating back #1350

tsonevn opened this issue May 28, 2018 · 0 comments · Fixed by #1349
Assignees

Comments

@tsonevn
Copy link
Contributor

tsonevn commented May 28, 2018

From @tbozhikov on May 23, 2018 11:8

Tell us about the problem

Navigation stops working after closing modal and navigating back a couple of times.

Which platform(s) does your issue occur on?

Both, Angular

Please provide the following version numbers that your issue occurs with:

  • CLI: 4.0.0
  • Cross-platform modules: (check the 'version' attribute in the
    node_modules/tns-core-modules/package.json file in your project)
  • Runtime(s): 4.0.1

Please tell us how to recreate the issue in as much detail as possible.

In an Angular {N} app:

  1. Start an app at component HOME
  2. navigate to component A
  3. navigate to component B
  4. open modal dialog
  5. close the dialog
  6. navigate back to component A using
    this._routerExtensions.backToPreviousPage()
  7. navigate back to component HOME using
    this._routerExtensions.backToPreviousPage()

This error is logged in the console:
CONSOLE ERROR file:///app/tns_modules/@angular/core/bundles/core.umd.js:1682:24: ERROR Error: Calling startGoBack while going back.

Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.

Copied from original issue: NativeScript/NativeScript#5853

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

Successfully merging a pull request may close this issue.

2 participants