Skip to content

isAttached is still false after template portal is attached #13031

Open
@solarmaximum

Description

@solarmaximum

Bug, feature request, or proposal:

Bug

What is the expected behavior?

From my understanding, isAttached on TemplatePortal should read true after template portal is attached to host.

What is the current behavior?

isAttached is still false after being attached to a host.

What are the steps to reproduce?

StackBlitz: https://stackblitz.com/edit/angular-cdk-portal-template-s2ntrh?file=app/app.component.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4A relatively minor issue that is not relevant to core functionsarea: cdk/portal

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions