Skip to content

[popup] Add ::backdrop to popup #519

@una

Description

@una

Request to add ::backdrop pseudo-element to popup elements to enable modal behavior for popups.

Two quick examples:

  • Creating dialogs with light dismiss (and other popup features)
  • Popup navigation elements (separating menus like slide-in menus from the rest of the page content)

Similar to the dialog element, this may possibly require a specific way to open the popup as a modal (or not, since popup is always in top layer, and the presence of the ::backdrop would be enough).

Metadata

Metadata

Assignees

Labels

needs editsThis is ready for edits to be madepopoverThe Popover API

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions