Skip to content

Dedupe popover fallback guidance#967

Open
LeaVerou wants to merge 3 commits into
mainfrom
popover-fallbacks
Open

Dedupe popover fallback guidance#967
LeaVerou wants to merge 3 commits into
mainfrom
popover-fallbacks

Conversation

@LeaVerou

Copy link
Copy Markdown
Collaborator

Multiple guides independently repeated the same Popover-API fallback advice (the @oddbird/popover-polyfill recommendation with feature detection, the :popover-open styling caveat, the position: fixed no-polyfill fallback, etc).

Consolidate it once in features/popover.md's Fallbacks section and replace the duplicated prose in each guide with the FEATURE_FALLBACKS, which also prepends the live Baseline status.

navigation-drawer is not converted: it has bespoke component-specific popover guidance (popover="manual", drop popover entirely rather than polyfill), so its redundant top-level macro call is removed instead.

Multiple guides independently repeated the same Popover-API fallback
advice (the @oddbird/popover-polyfill recommendation with feature
detection, the :popover-open styling caveat, and the position: fixed
no-polyfill fallback).

Consolidate it once in features/popover.md's Fallbacks section and
replace the duplicated prose in each guide with FEATURE_FALLBACKS,
which also prepends the live Baseline status. Per-feature fallbacks for
other features (anchor positioning, interest invokers, invoker
commands, popover-hint) are left in place.

navigation-drawer is not converted: it has bespoke component-specific
popover guidance (popover="manual", drop popover entirely rather than
polyfill), so its redundant top-level macro call is removed instead.

@jamesnw jamesnw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

Comment thread features/popover.md Outdated
Comment thread features/popover.md Outdated
LeaVerou and others added 2 commits June 26, 2026 04:22
Co-authored-by: James Stuckey Weber <jamesnw@gmail.com>
Co-authored-by: James Stuckey Weber <jamesnw@gmail.com>
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