Skip to content

fix(ui): make the wallet menu readable and anchor dropdowns to their trigger - #2

Merged
yeboster merged 2 commits into
mainfrom
fix/wallet-menu-legibility
Aug 30, 2026
Merged

fix(ui): make the wallet menu readable and anchor dropdowns to their trigger#2
yeboster merged 2 commits into
mainfrom
fix/wallet-menu-legibility

Conversation

@yeboster

Copy link
Copy Markdown
Contributor

Two UI fixes that were sitting unmerged on dev/sdk-v7 after PR #1 went in, cherry-picked onto current main.

  • Wallet menu legibility. The dropdown used .glass-panel — a 5% white fill over a 12px backdrop blur — so on mobile the hero headline and its glow read straight through the menu. It now gets a solid popover surface, a border that stands out against the dark background, and a drop shadow so the edge is visible. The connect menu also gains a "Connect a wallet" label and roomier items.
  • Dropdown anchoring. Menus positioned against the page corner instead of their trigger.

Verification

tsc --noEmit clean, 769 unit tests pass, next build green.

https://claude.ai/code/session_01GceWCwGXu66D1xEBDxZWBb

The wallet dropdown used .glass-panel (5% white fill plus a 12px backdrop
blur), so on mobile the hero headline and its glow showed straight through
the menu and the options were barely legible. Give the menu a solid popover
surface, a border that actually reads against the dark background, and a
drop shadow so its edge is visible.

Also label the list, label the testnet dev-key field, give the input a
visible boundary, and enlarge the item tap targets.

Claude-Session: https://claude.ai/code/session_01FjQPbxmvR37xGMKnSBr7wh
Base UI's Positioner defaults to positionMethod="absolute", which places the
popup with `position: absolute; left: 0; top: 0` plus a translate. An absolute
element resolves against the nearest transformed or filtered ancestor, so when
one sits between the portal root and the popup the translate is measured from
the wrong origin and the menu lands in the top-left corner of the page instead
of under its trigger — as the wallet Connect menu did.

Position against the viewport instead, which holds regardless of what the
surrounding page does to its stacking and containing blocks.

Claude-Session: https://claude.ai/code/session_01FjQPbxmvR37xGMKnSBr7wh
@vercel

vercel Bot commented Aug 30, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
app-react Ready Ready Preview Aug 30, 2026 5:43pm
app-react-new Ready Ready Preview Aug 30, 2026 5:43pm

@yeboster
yeboster merged commit 81690c0 into main Aug 30, 2026
2 of 6 checks passed
@yeboster
yeboster deleted the fix/wallet-menu-legibility branch August 30, 2026 17:38
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