Skip to content

fix: hide sidebar ellipsis after dismissing its menu - #1005

Merged
AnthonyRonning merged 1 commit into
MaplePrivacyLabs:masterfrom
doowta:fix/sidebar-menu-dismissal
Sep 23, 2026
Merged

AnthonyRonning merged 1 commit into
MaplePrivacyLabs:masterfrom
doowta:fix/sidebar-menu-dismissal

Conversation

@doowta

@doowta doowta commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

Problem

On desktop, hover a sidebar row, open its ellipsis menu, then click outside the menu and move away. The ellipsis can remain visible until another row or menu receives focus.

The sidebar uses group-focus-within to reveal the ellipsis, and the default modal dropdown restores focus to its trigger after an outside click. Together those behaviors leave the button visible after dismissal.

Change

  • Reveal the ellipsis for keyboard-visible focus instead of any focus within the row.
  • Make the chat and project dropdowns nonmodal, allowing Radix's existing outside-interaction handling to leave focus at the clicked destination instead of restoring it to the trigger.

Hover and open-menu visibility remain in place. Mobile still always shows the menu button. Nonmodal menus also allow interaction with the page behind them instead of trapping focus and blocking outside pointer interaction. No custom focus handlers, state, dependencies, or shared component changes are introduced.

Validation

  • Frozen lockfile dependency install.
  • Repository pre-commit checks: formatting, ESLint, TypeScript, and all 1,004 frontend tests passed. ESLint reports 13 warnings in unchanged files.
  • bun run build and git diff --check passed.
  • Inspected the installed Radix dropdown implementation to confirm its outside-interaction and focus-restoration behavior.
  • Sidebar behavior was reviewed locally during development with the separate title-fade change also applied. The automated checks above were run on this standalone branch; keyboard and mobile smoke tests were not run.

Checks used local Bun 1.4.0 because Nix is unavailable. No native build was run.

Independence

Based directly on master; this fixes dismissal with the existing title styling and does not depend on the title-fade change. The two changes touch adjacent lines around the menu roots, so merging both will require retaining both modal={false} and the container background during conflict resolution.

@AnthonyRonning
AnthonyRonning merged commit 31aae39 into MaplePrivacyLabs:master Sep 23, 2026
25 checks passed
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.

2 participants