Re: [csswg-drafts] [css-position][css-anchor-position] Duplicating "sticky" behavior for anchored elements (#10248)

Was surprised to run into the absence of a sticky-anchor equiv given the viewport-edge-conscious behavior of position-area and the known utility of position:sticky.

I'm currently hitting this gap working a medium-large grid of items where newly relevant item has action-items surfaced in a popover -- works great with anchor position except when the item becomes relevant when offscreen enough that its anchored popover is not visible. Ideally the popover would just sit at / stick to the relevant screen edge. 

Super dumb mock-visualization of sticky-anchor in case it matters.  

![Image](https://github.com/user-attachments/assets/af7ca23b-31a2-457c-9eec-71877e52cf80)
https://codepen.io/ianbellomy/pen/ogLKXeK

Best I can tell, achieving anchor sticky means a bespoke js re-implementation of either anchor or sticky.  :(

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


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

Received on Friday, 20 February 2026 04:07:35 UTC