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

Add the Popover API (ex: Pop Up API aka. the popup attribute plus more) #6367

Open
Schweinepriester opened this issue Jul 8, 2022 · 7 comments

Comments

@Schweinepriester
Copy link
Contributor

@ThreeDfish
Copy link

@Schweinepriester Schweinepriester changed the title Add the Pop Up API aka. the popup attribute plus more Add the ~Pop Up API aka. the popup attribute plus more~ Popover API Mar 3, 2023
@Schweinepriester Schweinepriester changed the title Add the ~Pop Up API aka. the popup attribute plus more~ Popover API Add the Popover API (ex: Pop Up API aka. the popup attribute plus more) Mar 3, 2023
@Schweinepriester
Copy link
Contributor Author

As mentioned in #6631, it's now called the Popover API

The Popover API is planned for launch in Chrome 110, available in stable in early February 2023 (check the Chrome Roadmap for updates).

@Schweinepriester
Copy link
Contributor Author

@Chudesnov
Copy link

Chudesnov commented Mar 23, 2023

Support for popover and popover=auto has been enabled in Safari TP 166:

Chrome support is still in origin trial phase, with shipping pushed to Chrome 114 https://chromestatus.com/feature/5463833265045504

@RentecTravis
Copy link

RentecTravis commented Mar 6, 2024

Chrome developer blog article about this:

https://developer.chrome.com/blog/tether-elements-to-each-other-with-css-anchor-positioning/

@ThreeDfish The Anchor API does not appear to be part of the popover API, though the two naturally would go extremely well together. Indeed each would feel incomplete without the other. I created a separate issue for the Anchor API.

Edit: CSS anchor positioning has already been added. Unfortunately it has zero support.
https://caniuse.com/css-anchor-positioning

@TixieSalander
Copy link

TixieSalander commented Mar 12, 2024

Hi! I'm not this this is what you're asking for, if not you can ignore my intervention.
From Hat I see popover attribute and APIs are currently present on CanIUse? Am I missing something?

https://caniuse.com/?search=popover

@Mouvedia
Copy link

@TixieSalander
e.g. :popup-open

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

7 participants