ant-design / ant-design/pro-components

🐛[BUG]用Tabs组件时,在item里面返回proTable,相关的属性不生效

Open
#8,747 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 描述

用Tabs组件时,在item里面的children返回proTable,columns里面写的[width,ellipsis]等相关的属性不生效,

使用TabPane也不行

### 📷 复现步骤

### 🏞 期望结果

超出内容省略

### 💻 复现代码

![image](https://github.com/user-attachments/assets/9736750f-aff8-46b7-8644-c45ff1743d66)
### © 版本信息

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

### 🚑 其他信息

Contributor guide

Open the contributing guide

Research direction

The report names Tabs, TabPane, and ProTable, but provides no source file, executable reproduction, version, or test. Start by reproducing the column width and ellipsis behavior with those entry points; done means the columns truncate correctly when ProTable is rendered inside a tab.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.