Skip to content

fix(selects): menu width cap by the viewport, and API summaries of the menu width properties - #216

Merged
239573049 merged 2 commits into
mainfrom
fix/select-api-summaries
Nov 26, 2026
Merged

239573049 merged 2 commits into
mainfrom
fix/select-api-summaries

Conversation

@239573049

@239573049 239573049 commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

Follow-up to the #212 / #214 change shipped in 1.3.2-preview.6.

  • Fix (CI on main fails without it): SelectMenuSizing capped the menu by TopLevel.ClientSize, which ViewportSourceScanTests (Core.Tests) forbids. Inside an ArcViewportHost (phone preview) the menu could grow past the host. It now reads ArcViewport.GetSize, which falls back to the window. CHANGELOG: Unreleased › Fixed.
  • Docs: the new MenuMinWidth, MenuMaxWidth and ShowTrimmedOptionToolTip property fields on Select, Combobox, MultiSelect and TreeSelect carried Defines the X property. summaries. The gallery's API tables take the field summary over the property's, so they showed that line instead of the real description. The field summaries are removed. Combobox.MaxDropDownHeight and MultiSelect.MaxDropDownHeight get their summaries back; they had slipped onto MenuMinWidth, and the gallery build reported GDOC004.

Local: TKCode.Arc.Core.Tests 202/202, TKCode.Arc.Tests Selects namespace 142/142, FilterBoxTests 40/40; src/TKCode.Arc builds without warnings.

The gallery docs for these properties are in AIDotNet/ArcGallery#16.

🤖 Generated with Claude Code

The new MenuMinWidth, MenuMaxWidth and ShowTrimmedOptionToolTip property
fields carried "Defines the X property." summaries, which the gallery's API
tables show in place of the properties' own text; drop them. Restore the
MaxDropDownHeight summaries on Combobox and MultiSelect, which had slipped
onto MenuMinWidth.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SelectMenuSizing read TopLevel.ClientSize, which ViewportSourceScanTests
forbids: inside an ArcViewportHost (a phone preview) the menu could grow past
the host. Read ArcViewport.GetSize instead, which falls back to the window.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@239573049 239573049 changed the title docs(selects): fix API summaries of the menu width properties fix(selects): menu width cap by the viewport, and API summaries of the menu width properties Nov 26, 2026
@239573049
239573049 merged commit 39c8079 into main Nov 26, 2026
55 of 56 checks passed
@239573049
239573049 deleted the fix/select-api-summaries branch November 26, 2026 17:37
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