Skip to content

feat(cdk/overlay): Add GlobalPositionStrategy support to cdkConnectedOverlay #32536

@XhstormR

Description

@XhstormR

Feature Description

Currently, GlobalPositionStrategy cannot be passed into the template; only FlexibleConnectedPositionStrategy can be passed, which limits its usage.

Image Image

It should be extended to PositionStrategy to support GlobalPositionStrategy:
Image

Use Case

This support allows us to define Overlay components directly in HTML without writing redundant code in TypeScript.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureThis issue represents a new feature or feature request rather than a bug or bug fixneeds triageThis issue needs to be triaged by the team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions