Skip to content

Popover API conflates Esc dismiss with light dismiss #30309

@lukewarlow

Description

@lukewarlow

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/Popover_API/Using#auto_state_and_light_dismiss

What specific section or headline is this issue about?

auto state, and "light dismiss"

What information was incorrect, unhelpful, or incomplete?

The popover can be "light dismissed" — this means that you can hide the popover by clicking outside it or pressing the Esc key.

What did you expect to see?

This text conflates two separate concepts, light dismiss is the clicking outside to close behaviour, the escape key (and android back gesture) isn't part of this.

Do you have any supporting links, references, or citations?

whatwg/html#9373 (comment)

Do you have anything more you want to share?

The HTML spec itself might be ambiguous here and if so needs improvements too, but it feels right to correct it in MDN.

MDN metadata

Page report details

Metadata

Metadata

Assignees

No one assigned

    Labels

    Content:WebAPIWeb API docseffort: smallThis task is a small effort.help wantedIf you know something about this topic, we would love your help!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions