Skip to content

[css-anchor-position-1] What is supposed to happen with scrolling? #14112

Description

@jakearchibald

I recently created a demo of the 'ideal' sizing for custom select, and noticed that how anchor positioning reacts to scrolling is inconsistent across browsers and platforms.

The following videos have audio, but you need to unmute them to hear it. Sorry the volume levels are different between the desktop and mobile recordings.

Firefox desktop

firefox-desktop.mp4

Firefox Android

firefox-android.mp4

Chrome desktop

chrome-desktop.mp4

Chrome Android

chrome-android.mp4

Safari Technology Preview

safari-desktop.mp4

Are any of these right?

None of them feel right, and it isn't clear to me if any of these are right according to the spec.

I would expect the layout to update on scroll end at the latest. The current behaviours feel really buggy across the board.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions