ant-design / ant-design/pro-components

🐛[BUG] editable-table前置(position: "top")插入可编辑行时,渲染异常

Open
#7,137 4 comments 0 reactions 0 assignees View on GitHub
⭕️ bug AI Reply table
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

### 🐛 bug 描述

【一图胜千言】数据渲染异常,怀疑可能是节点被复用了?

图片

### 📷 复现步骤

1. 打开官网地址
2. 点击左侧的【EditableProTable - 可编辑表格】
3. 选择右侧的【与 FormItem 配合】
4. 点击三次列表中的【添加一行数据】(如下图)
图片
5. 然后你就复现问题了

官网地址:https://procomponents.ant.design/components/editable-table#editableprotable-demo-basic

### 🏞 期望结果

正常渲染

### © 版本信息

- ProComponents 版本: [e.g. 4.0.0]
- umi 版本
这俩官网的,我不知道

- 浏览器环境
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/112.0"

- 开发环境 [e.g. mac OS]
mac OS

Contributor guide

Open the contributing guide

Research direction

Start with the EditableProTable - 可编辑表格 demo, specifically the “与 FormItem 配合” example at the linked documentation page. Reproduce the issue by clicking “添加一行数据” three times with position set to top, then compare the rendered rows with the expected normal rendering.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.