Skip to content

fix(Option): no border inside menus on highlighted, hovered or focused items - #499

Merged
lorant-one merged 1 commit into
previewfrom
fix/menu-option-nested-border
Nov 13, 2026
Merged

lorant-one merged 1 commit into
previewfrom
fix/menu-option-nested-border

Conversation

@lorant-one

Copy link
Copy Markdown
Member

Requested by Lorant · project thread

What

When a menu opens, its first item is highlighted, and Option drew a 1px border on that item. The border sat inside the panel's own border, so the menu looked like a box inside a box. This showed up on the Aveiro agent page and happens on 2.8.0 and on main.

Now the highlighted, hovered, focused and danger states of an option show only the fill. The border stays transparent at the same width, so nothing moves. Keyboard focus (:focus-visible) still gets the brand ring, so the accessibility cue is kept.

The other half of the report, making the item corners sit inside the panel's corners, already shipped in 2.8.0 (#386: option radius = radius-l minus the panel's 4px padding). If Aveiro's corners still don't line up, it's because Aveiro sets its own radius or padding.

This doesn't break anything: no prop or token changes, so it doesn't need to wait for 3.0.

Checks

  • vitest for the option, dropdown and API-surface suites: 42 tests pass
  • The stylesheet compiles, and the only border-color left is the transparent base
  • Changelog entry under Unreleased › Fixed

Generated by Claude Code

The first item of a menu is highlighted as it opens, and its 1px border
sat inside the panel's own border. Every state now shows only the fill;
keyboard focus keeps its brand ring.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016gNJtwQuhoLQdpygLCVEyk
@lorant-one lorant-one self-assigned this Nov 12, 2026
@lorant-one
lorant-one merged commit 35e8fbe into preview Nov 13, 2026
13 of 14 checks passed
@lorant-one lorant-one added the approved label Nov 13, 2026 — with Claude
@lorant-one
lorant-one deleted the fix/menu-option-nested-border branch November 15, 2026 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants