Skip to content

Nested navigation doesn't work with LazyLoad (iOS) #121

@Bezlepkin

Description

@Bezlepkin

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: 15.2.0
  • Cross-platform modules:
  • Android Runtime:
  • iOS Runtime: 8.5.2
  • Plugin(s):
  • NativeScript-Angular: 16.0.0
  • Angular: 15.2.0

Describe the bug
I am trying to make tabs (main navigation) with nested .

But I want to go to the screen that is outside the . The transition works. When going back, an error appears (screenshot).

When switching back, the application gives error:
ERROR Error: Uncaught (in promise): TypeError: Cannot read properties of null (reading 'view')

2023-10-01_14-31-50

To Reproduce

Expected behavior

Sample project
https://github.com/Bezlepkin/ns-ng-tabs-start-app-template

Additional context
I also attach a link to video
https://disk.yandex.ru/i/DQ4EGvuLOaJ4xg

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