Re: [csswg-drafts] [css-anchor-1] Need ability to say "don't render" when anchor is off-screen (#7758)

@clshortfuse

This looks like a different thing, which is closer to Floating UI's [shift](https://floating-ui.com/docs/shift) that tries to keep the element in the bounding box without switching position; while this issue is about what to do when it's overflowing the bounding box.

And we don't have full support for `shift` yet. I have a [hacky demo](https://jsfiddle.net/3xytvL5h/), but it doesn't work with `position: fixed`, so it probably doesn't work for popovers. 

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


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

Received on Thursday, 1 June 2023 17:52:40 UTC