Skip to content

docs: consolidate mobile navigation and search in Drawer - #2287

Draft
maxffarrell wants to merge 37 commits into
huntabyte:mainfrom
maxffarrell:codex/mobile-search-drawer
Draft

maxffarrell wants to merge 37 commits into
huntabyte:mainfrom
maxffarrell:codex/mobile-search-drawer

Conversation

@maxffarrell

@maxffarrell maxffarrell commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Below md, use one Drawer for both documentation search and navigation. The empty field shows the same grouped navigation as the sidebar, including Home, current-page state, and navigation labels. Typing shows search results instead. Desktop search stays a Dialog.

Decisions in this follow-up

Validation

  • Package build and publint, docs type check, and lint pass locally.
  • 24 focused browser tests pass across Chromium and WebKit. They cover same-gesture focus, rapid reopening, focus return without overriding another target, breakpoint changes, and a simulated keyboard inset.
  • Trusted taps in WebKit phone and tablet emulation focused the input and opened an actual indexed result. On the phone viewport, two touch close/reopen cycles restored the trigger.
  • A physical iPhone/iPad Safari check is still needed for the OS keyboard, viewport position, and scrolling with the keyboard open.

@changeset-bot

changeset-bot Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: cd86157

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
bits-ui Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions

github-actions Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor
built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
bits-ui ✅ Ready (View Log) Visit Preview cd86157

@maxffarrell maxffarrell changed the title docs: use Drawer for mobile search docs: consolidate mobile navigation and search in Drawer Nov 7, 2026

This branch was successfully deployed

1 active deployment
Preview — cd86157e Deployed Nov 28, 2026 by github-actions[bot]
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