Skip to content

Specify position-anchor: auto in the popover-hint example.#385

Open
dshin-moz wants to merge 1 commit into
mdn:mainfrom
dshin-moz:patch-1
Open

Specify position-anchor: auto in the popover-hint example.#385
dshin-moz wants to merge 1 commit into
mdn:mainfrom
dshin-moz:patch-1

Conversation

@dshin-moz

Copy link
Copy Markdown

Due to back-compat issues 1, popovers don't automatically look for the implicit anchor unless either position-anchor: auto is specified, or position-area is not none (With the default value of position-anchor: normal).

This example, because it uses anchor() and anchor-center, requires explicitly specifying position-anchor: auto, as of Bug 2030351.

Due to back-compat issues [1], popovers don't automatically look for the implicit anchor unless either `position-anchor: auto` is specified, or `position-area` is not `none` (With the default value of `position-anchor: normal`).

This example, because it uses `anchor()` and `anchor-center`, requires explicitly specifying `position-anchor: auto`, as of Bug 2030351.

[1]: w3c/csswg-drafts#13067
@dshin-moz dshin-moz requested review from a team as code owners June 9, 2026 15:24
@dshin-moz dshin-moz requested a review from dipikabh June 9, 2026 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants