Repository navigation
fix(ToggleButton): menu trigger keeps its highlight while the menu is open (3.1) - #584
Merged
Merged
Conversation
… 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
27 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 aNavItem) that triggers aDropdownalready carriesaria-expandedfromDropdownTriggerContext.ToggleButton.module.scssnow gives[aria-expanded="true"]the hover fill (base andsubtle), 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