Skip to content

feat(OVERLAY): All overlays should use the Popover API (once it reaches stable) #28769

Open
@Akxe

Description

@Akxe

Feature Description

The Popover API should be used for overlay and, therefore, by extension, dialog, tooltips, select and more.

This feature should be implemented using feature detection because of Firefox probably and some more obscure browsers. The Popover API should be used for overlay and, therefore, by extension, dialogue, tooltips, select and more. As a fallback to the Popover API, the dialog element could be used.

Use Case

If some other API were to use the Popover API or dialog element and the angular components would not, it would mean that Angular would stay behind.

Ex: Having a matTooltip inside a native <dialog> element does show the tooltip behind the dialog and its backdrop.
https://stackblitz.com/edit/components-issue-4wx2az

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4A relatively minor issue that is not relevant to core functionsarea: 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