ant-design / ant-design/pro-components

🐛[BUG]Table 表头同样的条件下展示不一致情况

Open
#9,008 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

### 🐛 bug 描述

在 proTable 表头里面,同样的字数情况下,有的会ellipsis省略,而有的会折行显示。

### 📷 复现步骤

### 🏞 期望结果

都能够折行显示

### 💻 复现代码

### © 版本信息

- ProComponents 版本: [e.g. 4.0.0]
- umi 版本
- 浏览器环境
- 开发环境 [e.g. mac OS]

### 🚑 其他信息

![Image](https://github.com/user-attachments/assets/3e7bf2d6-76b4-4147-b2c0-4c1c6d328f83)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported ProTable header behavior using the screenshot and the stated same-length header conditions. The issue supplies no repository file, test, version, browser, or runnable reproduction; done means establishing a reproducible case and making equivalent headers wrap consistently.

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
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.