Skip to content

fix(docs): cut header chrome flash, wash lag and spacing pad - #536

Merged
chaxus merged 3 commits into
mainfrom
fix/menubar-hover-select-delay
Nov 11, 2026
Merged

chaxus merged 3 commits into
mainfrom
fix/menubar-hover-select-delay

Conversation

@chaxus

@chaxus chaxus commented Nov 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • Paint menubar option wash immediately (no ~300ms selected-row blank after hover) and keep the native portal visible until harvest swaps in the shared viewport.
  • Hug short header labels by exposing --ran-select-min-width (drop the 80px floor on chrome) so Light→Graphite spacing matches the 8px peer gap.
  • Reduce refresh flash with critical root theme ink, static header-chrome imports, and modulepreload for the docs client.

Test plan

  • pnpm -F ranui exec vitest run test/unit/menubar.contract.test.ts
  • pnpm -F docs exec playwright test test/browser/header-menus.spec.ts --project=chromium (9/9)
  • Confirm production after Cloudflare Pages deploy: language hover wash is instant, no tall empty pad under فارسی, Light trigger hugs label, dark refresh does not white-flash

Made with Cursor

Show the selected menubar wash immediately, keep the native panel until harvest, hug short trigger labels via --ran-select-min-width, and paint critical theme ink plus modulepreload so refresh no longer flashes empty chrome.

Co-authored-by: Cursor <cursoragent@cursor.com>
@chaxus
chaxus force-pushed the fix/menubar-hover-select-delay branch from c881101 to 6702b91 Compare November 11, 2026 14:03
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Deploying ran with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0d35936
Status: ✅  Deploy successful!
Preview URL: https://73cc36a0.ran-4ty.pages.dev
Branch Preview URL: https://fix-menubar-hover-select-del.ran-4ty.pages.dev

View logs

chaxus and others added 2 commits November 11, 2026 22:05
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@chaxus
chaxus merged commit e02c46e into main Nov 11, 2026
20 of 23 checks passed
@chaxus
chaxus deleted the fix/menubar-hover-select-delay branch November 11, 2026 14:29
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.

1 participant