Skip to content

feat(dropdown): add truncate functionality for dropdown trigger text#25

Merged
si-jin-chen merged 2 commits into
mainfrom
hui/dropdown-resp
May 6, 2026
Merged

feat(dropdown): add truncate functionality for dropdown trigger text#25
si-jin-chen merged 2 commits into
mainfrom
hui/dropdown-resp

Conversation

@huimiu
Copy link
Copy Markdown
Collaborator

@huimiu huimiu commented May 6, 2026

  • Added a new truncate prop (default: true) to VscDropdown, enabling grid-based layout so the trigger text truncates with ellipsis when necessary.
  • Added a TruncateDemo component and corresponding section in the playground to demonstrate the truncation feature with a resizable container.
  • Set the default Git line endings to LF using .gitattributes for consistency.
image

@si-jin-chen si-jin-chen merged commit cf1d012 into main May 6, 2026
1 check 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