[csswg-drafts] [css-anchor-1] Should `anchor-scroll` take overscroll into account? (#8971)

xiaochengh has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-anchor-1] Should `anchor-scroll` take overscroll into account? ==
See this demo: https://charistheo.github.io/html-popovers/

If we scroll to the bottom and overscroll, then the popovers are detached from their anchors

This is because the popovers are `position-fixed`, and are attached to the anchors with `anchor-scroll`. When the page is overscrolled, the overscroll offset isn't included into the snapshotted scroll offset, so the popovers don't overscroll with the rest of the page.

Should this be fixed?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8971 using your GitHub account


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

Received on Thursday, 15 June 2023 17:54:16 UTC