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

Declaratively open popovers (and other elements?) on page load #10171

Open
josepharhar opened this issue Feb 29, 2024 · 0 comments
Open

Declaratively open popovers (and other elements?) on page load #10171

josepharhar opened this issue Feb 29, 2024 · 0 comments
Labels
topic: dialog The <dialog> element. topic: popover The popover attribute and friends

Comments

@josepharhar
Copy link
Contributor

What is the issue with the HTML Standard?

In the original proposal for the popover attribute, we had a defaultopen attribute which would show the popover declaratively on page load.

We considered renaming it to popoverdefaultopen for popovers, but then decided not to and instead add the defaultopen attribute in a way that can also be supported on dialog and details elements, potentially blocking on removing the open attribute from them: #7785 (comment)

It doesn't seem like we fully came to an agreement on a plan for defaultopen in that thread, but I've gotten feedback that this would be a useful feature and that we should still try to add it.

@mfreed7 @annevk @domenic

@josepharhar josepharhar added topic: dialog The <dialog> element. topic: popover The popover attribute and friends labels Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: dialog The <dialog> element. topic: popover The popover attribute and friends
Development

No branches or pull requests

1 participant