Skip to content

angular 14+ modal back navigation issue #106

@BalintVegh

Description

@BalintVegh

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

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