Skip to content

fix(select): drop the default ▼ text from the trigger icon - #84

Merged
zyx1121 merged 1 commit into
mainfrom
fix/select-icon-text
Oct 14, 2026
Merged

zyx1121 merged 1 commit into
mainfrom
fix/select-icon-text

Conversation

@zyx1121

@zyx1121 zyx1121 commented Oct 14, 2026

Copy link
Copy Markdown
Member

Base UI Select.Icon renders the text ▼ by default. Passing the chevron through render kept that text inside the svg, so the trigger's text read 餐費▼ (found by llm.winlab.tw e2e: toHaveText("qwen3.8-27b-fp8") received qwen3.8-27b-fp8▼).

Now the chevron is the Icon's children, which replaces the default text.

Checked on sandbox: lint, typecheck, format, tokens, build; on the built /select page the trigger text is 餐費 with one svg.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@zyx1121
zyx1121 merged commit b31e934 into main Oct 14, 2026
2 checks passed
@zyx1121
zyx1121 deleted the fix/select-icon-text branch October 14, 2026 08:16
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