Skip to content

[css-anchor-1] Should anchor-scroll take overscroll into account? #8971

@xiaochengh

Description

@xiaochengh

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions