react-component / react-component/select
[Bug] tag 过长会导致多余的换行
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 938
- Forks
- 482
- Avg merge
- 15h 8m
- Merged PRs (30d)
- 2
Description
目前 multiple 模式下,当某个 tag 过长时,内部的 input node 会被挤到第二行。其实如果把 showSearch 设置为 false 的话,这个 input node 可以去掉,这样会更美观一些。
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start from the Select component's multiple mode rendering and the handling of showSearch. Reproduce the case with an unusually long tag and showSearch set to false, then verify that the internal input no longer creates an unnecessary second line.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100