Skip to content

Wrong back navigation after using nested outlets with the TabsComponent #131

@tujlaky

Description

@tujlaky

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 8.6.5
  • Cross-platform modules:
  • Android Runtime: 8.6.2
  • iOS Runtime: -
  • Plugin(s): -
  • NativeScript-Angular: 16.0.1
  • Angular: 16.2.0

Describe the bug

To Reproduce

I have created a demo app to reproduce the issue:
https://github.com/tujlaky/nativescript-tabs-demo

The following navigation steps would break the app:

  • Item 1
  • Show more
  • Press the back arrow in the ActionBar twice
  • Open the Browse tab
  • Press Go outside button
  • Press the back arrow in the ActionBar
  • Open the Home tab
  • It show Item 1

Expected behavior

It should how the last active view.

Sample project

https://github.com/tujlaky/nativescript-tabs-demo

Additional context

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