Skip to content

fix(ToggleButton): menu trigger keeps its highlight while the menu is open (3.1) - #584

Merged
lorant-one merged 1 commit into
previewfrom
fix/nav-item-open-menu-highlight
Nov 23, 2026
Merged

lorant-one merged 1 commit into
previewfrom
fix/nav-item-open-menu-highlight

Conversation

@lorant-one

Copy link
Copy Markdown
Member

Requested by Lorant · project thread

What

Lorant reported (23 Nov) that in Aveiro's sidebar, the Help row loses its hover fill as soon as the pointer moves into its menu (Feedback, What's new, Help center, Search). The row the menu came from should stay marked while the menu shows.

A ToggleButton (and so a NavItem) that triggers a Dropdown already carries aria-expanded from DropdownTriggerContext. ToggleButton.module.scss now gives [aria-expanded="true"] the hover fill (base and subtle), and a selected trigger keeps the deeper selected-hover fill. CSS only; every app picks it up with the release.

For the 3.1 batch (Wed 25 Nov). CHANGELOG entry under Unreleased › Fixed.

Checked

Applied to Sigilio's new sidebar (sigilio#132) in demo mode: Help stays highlighted with its menu open, dark and light (screens in project files nav-kit/sigilio/after-help-open-desktop-*.png).


Generated by Claude Code

… is open

A NavItem or ToggleButton that opens a Dropdown (a sidebar's Help or
account row) lost its hover fill as soon as the pointer moved into the
menu. It now keeps it while aria-expanded is true; a selected trigger
keeps its selected-hover fill.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016gNJtwa5NGWzMdJeeRCvq2
@lorant-one
lorant-one merged commit 5ffa869 into preview Nov 23, 2026
10 checks passed
@github-actions github-actions Bot mentioned this pull request Nov 24, 2026
27 tasks done
@lorant-one lorant-one added the approved label Nov 24, 2026 — with Claude
@lorant-one
lorant-one deleted the fix/nav-item-open-menu-highlight branch November 29, 2026 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants