Skip to content

page-router-outlet won't render if it's wrapped in an *ngIf that was initially false #1407

Open
@Burgov

Description

@Burgov

See this playground example:

https://play.nativescript.org/?template=play-ng&id=m8kxO1&v=2

The property a is initially false, then set to true in the next tick. The Label updates correctly to reflect this, but the page content never shows up.

If you change the code to make a say true initially, it renders as expected.

Both iOS and Android, all latest versions.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions