Skip to content

Anchor positioning, should the fallbacks re-calculate to respect my default? #13573

@brechtDR

Description

@brechtDR

When creating a simple anchoring demo where I can use position-try-fallbacks. I notice that there isn't a re-calculation on each step.

In the following example, my default is showing the popover at the top, which, as an author, is my preferred way. When switching the position around, if it goes from the bottom and the center option can be shown as bottom, it doesn't bother to recalculate, which I probably want it to do. I want it to respect my default in the design.

It's easier to illustrate the issue on video...

Screen.Recording.2026-02-27.at.15.45.56.mov

Here is the Codepen:
https://codepen.io/utilitybend/pen/OPMRXqE

I am aware this is probably by design to not have unnecessary calculations, but I wonder if this is the right call from a "UI design" point of view.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions