Skip to content

Separate popover's light dismiss from Esc button close request#30890

Merged
hamishwillee merged 3 commits intomdn:mainfrom
BartoszKlonowski:fix/30309/popover-esc-light-dismiss-confusion
Dec 11, 2023
Merged

Separate popover's light dismiss from Esc button close request#30890
hamishwillee merged 3 commits intomdn:mainfrom
BartoszKlonowski:fix/30309/popover-esc-light-dismiss-confusion

Conversation

@BartoszKlonowski
Copy link
Copy Markdown
Contributor

This pull request fixes #30309

It divides the bullet point about light dismissing the popover into two: One for light dismiss as clicking outside of the modal, and the second for closing the modal by sending close request mentioning pressing Esc button as one of those close requests.

@BartoszKlonowski BartoszKlonowski requested a review from a team as a code owner December 9, 2023 12:46
@BartoszKlonowski BartoszKlonowski requested review from Elchi3 and removed request for a team December 9, 2023 12:46
@github-actions github-actions bot added the Content:WebAPI Web API docs label Dec 9, 2023
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Dec 9, 2023

Preview URLs

(comment last updated: 2023-12-11 00:15:51)

Copy link
Copy Markdown
Collaborator

@hamishwillee hamishwillee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much. I slightly amended the second point because "close requests" is not well defined (even though pretty clear what it means).

@lukewarlow
Copy link
Copy Markdown
Contributor

@hamishwillee fwiw "close requests" is the html spec language.

But till it's documented on MDN this is fine.

dipikabh pushed a commit to dipikabh/content that referenced this pull request Jan 17, 2024
…0890)

* Separate popover light dismiss from Esc button close request

* Update files/en-us/web/api/popover_api/using/index.md

* Update files/en-us/web/api/popover_api/using/index.md

---------

Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:WebAPI Web API docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Popover API conflates Esc dismiss with light dismiss

3 participants