Skip to content
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

angular 14+ modal back navigation issue #106

Open
BalintVegh opened this issue Feb 1, 2023 · 1 comment
Open

angular 14+ modal back navigation issue #106

BalintVegh opened this issue Feb 1, 2023 · 1 comment

Comments

@BalintVegh
Copy link

Environment

  • CLI: 8.4.0
  • Cross-platform modules: 8.4.0
  • Android Runtime: 8.4.0
  • iOS Runtime: 8.4.1
  • NativeScript-Angular: 14+
  • Angular: 14+

After closing a modal (contains page-router-outlet) in the second screen and navigating back to Home Screen, then automatically runs a new Home Screen navigation.

I checked with the navigationTo event: it fires like forward navigation too.
navigatedTo event in Home Screen after closing modal and navigating back (event fires twice):

  1. isBackNavigation: false
  2. isBackNavigation: true

This happens on android and on ios.
The latest version of Angular 13 and @nativescript/angular 13 is working fine, but nothing above it.

Sample project
https://github.com/BalintVegh/ns-angular-modal-issue

@SeanKelly369
Copy link

SeanKelly369 commented Feb 12, 2023

I'm experiencing the same issue whenever a modal is opened using the ModalDialogParams library. Did you find a solution?

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

No branches or pull requests

2 participants