Tencent / Tencent/tdesign-react

[Table] title样式问题

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

Nobody has claimed this yet.

improvement
Dominant language
TypeScript
Stars
965
Forks
373
Avg merge
3d 6h
Merged PRs (30d)
17

Description

tdesign-react 版本

react

重现链接

https://stackblitz.com/edit/react-cadtpb?file=src%2Fdemo.jsx

重现步骤
企业微信截图_69ca9e8a-5747-4ffa-8386-dc776a254241

设置了ellipsis这个字段后icon就自动拉长了

期望结果

icon不受ellipsis字段的影响

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

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

Start with the linked StackBlitz reproduction in src/demo.jsx and reproduce the Table title with the ellipsis field enabled. Trace the Table title and icon rendering, then verify that the icon no longer stretches while ellipsis remains enabled in the demo.

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
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.