Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Conversation

BartoszKlonowski
Copy link
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
Copy link
Contributor

github-actions bot commented Dec 9, 2023

Preview URLs

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

Copy link
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).

@hamishwillee hamishwillee merged commit 9deef40 into mdn:main Dec 11, 2023
7 checks passed
@lukewarlow
Copy link
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