Re: [csswg-drafts] [css-anchor-position-1] Allow anchor references to match names in outer tree scopes (#9408)

+1 for ShadowDOM support.

we have an internal utility called `<sl-popup>` in Shoelace that uses Floating UI currently.

It supports setting an arbitrary `anchorElement` which could live in any root. As I understand currently, Anchored Region would only allow us to set anchors in the same shadow root as the anchor from the popup utility.

Without cross-root anchoring, it feels like anchored region would do very little to replace our current usage of Floating UI because it cannot accept arbitrary anchors. or at the very least, anchors from "parent" DOM trees.

-- 
GitHub Notification of comment by KonnorRogers
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9408#issuecomment-2105498349 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 11 May 2024 02:51:44 UTC