Tencent / Tencent/tdesign-react

[Breadcrumb] 面包屑文本超长溢出的 tooltip 提示,可否暴露出更多的参数。

Open
#2,522 2 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.