Skip to content

feat(CdkConnectedOverlay): Add cdkConnectedOverlayDisposeOnNavigation as @Input for the directive #27545

@martendV

Description

@martendV

Feature Description

It would be nice, if cdkConnectedOverlayDisposeOnNavigation could be added as @input parameter for the CdkConnectedOverlay directive.
Adding it could also be a possibility to add other missing properties from the OverlayConfig.

In the following file ...cdk/overlay/overlay-directive.ts a new input @Input('cdkConnectedOverlayDisposeOnNavigation') open: boolean = false; would have to be added and the private _buildConfig(): OverlayConfig method would need modifications to support the new input.

Use Case

Using the CdkConnectedOverlay directive with disposeOnNavigation. The directive produces a significantly smaller overhead than the overlay.create() solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: cdk/overlayfeatureThis issue represents a new feature or feature request rather than a bug or bug fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions