Fix #477: menu focus-first-item #478
No reviewers
Labels
No labels
actions
bug
cli
duplicate
enhancement
fork
forum
git storage
help wanted
insights
invalid
issues
moderation
oidc
ownership transfer
packages
pr/merge protection rules
projects
pull requests
question
releases
sponsorships
tags
webhooks
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
crueber/walhub!478
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/issue-477"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #477. Both navbar menus (CreateMenu.jsx, IdentityMenu.jsx) read getOpen() after setOpen() in toggle, so the focus-first-item branch never fired on open — Solid signals update synchronously. Now captures the pre-toggle value (const opening = !getOpen()) and guards the queueMicrotask first-item focus on it. Esc/outside-click/arrow/Tab popover contract untouched. Headless cover: web/test/unit/menu-focus-477.test.js (9 tests); targeted create-menu-466 + identity-nav + menu-focus-477: 53/53 green; full node --test: 885/900 with the same 15 failures as pristine origin/main (pre-existing, unrelated); vite build green. No backend change, no new deps. Browser proof open (shared-daemon loopback guard — not attempted per task).