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

Use the standard popover API where appropriate #755

Open
daneah opened this issue May 13, 2024 · 1 comment
Open

Use the standard popover API where appropriate #755

daneah opened this issue May 13, 2024 · 1 comment

Comments

@daneah
Copy link
Member

daneah commented May 13, 2024

The problem

As much as possible, we wish to rely on web standards rather than custom behavior, such that we enjoy more consistency of expected behavior and don't fight the browser any more than we must.

The solution

Similar to the desire to use dialog for modals (#347), for popovers and potentially dropdown and other components, use the popover API where appropriate.

Alternatives considered
Indicate any alternative solutions or features you've considered.

Additional information
It's possible that Floating UI already does some with this under the hood?

@sirrah-tam
Copy link
Contributor

Some relevant info to keep in mind around the accessibility of the popover attribute

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants