Skip to content

fix: a combobox menu is at least as wide as its trigger - #67

Merged
zyx1121 merged 1 commit into
mainfrom
fix/combobox-width
Oct 9, 2026
Merged

zyx1121 merged 1 commit into
mainfrom
fix/combobox-width

Conversation

@zyx1121

@zyx1121 zyx1121 commented Oct 9, 2026

Copy link
Copy Markdown
Member

A short combobox trigger (幫誰點 in portal bento, sized to the chosen name) squeezed the member menu to the trigger's width, so every name and email was cut off.

ComboboxContent now uses min-w-(--anchor-width) instead of w-(--anchor-width): it keeps the popover's w-72 and grows to match a wider trigger (full-width form fields look the same as before).

🤖 Generated with Claude Code

…er than a popover

A short trigger (幫誰點 in portal bento) squeezed the member menu to the
trigger's width, truncating every name. The menu now keeps the popover's
w-72 and grows to the trigger when the trigger is wider.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@zyx1121
zyx1121 merged commit 3aacde0 into main Oct 9, 2026
2 checks passed
@zyx1121
zyx1121 deleted the fix/combobox-width branch October 9, 2026 15:50
zyx1121 added a commit to zyx1121/www.zyx.tw that referenced this pull request Oct 10, 2026
…t legend (#111)

Ports three ui.winlab.tw fixes the zyx registry had not picked up:

- checkbox keeps its check mounted and fades it with the fill, and a select
  menu over its trigger now fades both ways; DESIGN.md says every animation
  runs the same way in and out (NYCU-WinLab/ui#30)
- a combobox menu is at least as wide as its trigger and keeps the
  popover's width, so a short trigger no longer truncates the options
  (NYCU-WinLab/ui#67)
- chart gains ChartLegend and ChartLegendContent in the config's order, and
  DESIGN.md adds the drawing rules: 4px bar ends, 2px lines, horizontal
  grid, a legend for two series (NYCU-WinLab/ui#68)

Also fixes the button comment that still said WinLab apps.


Claude-Session: https://claude.ai/code/session_01DNMgVpzJEQhK39qSpfRJvU

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
zyx1121 added a commit that referenced this pull request Oct 10, 2026
…smoke test (#70)

Two checks the zyx registry already runs:

- theme:check also fails when an @Utility or @Keyframes that a registry
  item ships is missing from app/globals.css, so the site cannot render an
  item differently from a project that installed it
- the smoke test adds every ui, component and block item from the built
  registry after the hand-written assertions; the seven items since #63
  (focus, avatar-stack, countdown, expand-row, number-ticker, chart,
  signature-pad) were never installed in CI

README lists those seven items and no longer says a combobox menu is as
wide as its trigger (#67).


Claude-Session: https://claude.ai/code/session_01DNMgVpzJEQhK39qSpfRJvU

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.

1 participant