Popover API is shipping
Browser-native popovers with no JavaScript required — popover="auto" and you get dismiss-on-outside-click, Esc-to-close, and top-layer stacking out of the box.
The browser shipped three new APIs this quarter — here's what they do and how to use them today.
Read now →Browser-native popovers with no JavaScript required — popover="auto" and you get dismiss-on-outside-click, Esc-to-close, and top-layer stacking out of the box.
Focus trap, inert backdrop, form-method=dialog — the dialog element got real love from the browser team and now ships a11y that you used to build by hand.
position-anchor lets you anchor any absolutely-positioned element to any other element — no more offsetLeft calculations, no more resize observers.