pharos icon indicating copy to clipboard operation
pharos copied to clipboard

Use the standard `popover` API where appropriate

Open daneah opened this issue 9 months ago • 1 comments

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.

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

daneah avatar May 13 '24 14:05 daneah

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

sirrah-tam avatar Aug 01 '24 13:08 sirrah-tam