ant-design / ant-design/pro-components

👑 [需求] ProTable开启ellipsis 数量多的时候渲染速度太慢

Open
#8,868 1 comment 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

### 🔩 所属模块或组件

ProTable

### 🥰 需求描述

ProTable开启ellipsis 数据多的时候渲染会很慢, antd Table同样的代码开启ellipsis后渲染速度要快得多, 希望和antd Table开启ellipsis后的表现一致,

### ⛰ 功能需求适用场景

同antd Table开启ellipsis后保持一致

### 🧐 解决方案

### 🚑 其他信息

![image](https://github.com/user-attachments/assets/90188835-ccef-4b41-a9af-48e860974951)

Contributor guide

Open the contributing guide

Research direction

Start with ProTable's ellipsis behavior and compare it with the corresponding antd Table behavior, using the reported large-data case as the reproduction. Identify why rendering is slower, then verify that enabling ellipsis delivers comparable rendering performance.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.