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

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

Open
tujlaky opened this issue Apr 8, 2024 · 1 comment
Open

Comments

@tujlaky
Copy link

tujlaky commented Apr 8, 2024

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

@tujlaky
Copy link
Author

tujlaky commented Apr 8, 2024

I would like to add a stackblitz example but the preview page is broken:
https://preview.nativescript.org/

NativeScript/stackblitz-templates#14

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

1 participant