Tencent / Tencent/tdesign-react
[Breadcrumb] 面包屑文本超长溢出的 tooltip 提示,可否暴露出更多的参数。
Open
Nobody has claimed this yet.
💪🏻 enhancement
- Dominant language
- TypeScript
- Stars
- 965
- Forks
- 373
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 17
Description
这个功能解决了什么问题
例如 Breadcrumb 的 tooltip 支持的 placement,允许设置提示框的位置,因为大多数的面包屑都是在页面顶部,所以顶部的提示容易被网页截断。
因此认为 Breadcrumb 需要开放这个 placement 的设置
你建议的方案是什么
props 传递参数即可,比较简单
Contributor guide
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
No file or test is named in the issue. Start by locating the Breadcrumb component and its tooltip-related props, then check how the overflow tooltip is configured. Done means exposing placement through Breadcrumb props and verifying that the tooltip position can be controlled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100