ant-design / ant-design/pro-components

🐛[BUG] EditableProTable在开启虚拟滚动(virtual)、垂直滚动设置( scroll={{y:xxx}} )设置的情况下使用方向键左右跳转输入框会导致表头和表格内容错位

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

Description

### 🐛 bug 描述
EditableProTable在开启虚拟滚动(virtual)、垂直滚动设置( scroll={{y:xxx}} )设置的情况下使用方向键左右跳转输入框会导致表头和表格内容错位

### 🏞 期望结果

期望优化该点(使用方向键不错位)

### © 版本信息

- "antd": "5.22.2",

### 🚑 其他信息

![Image](https://github.com/user-attachments/assets/0a0dcddb-1880-4d7b-8bca-205e0955d22f)

Contributor guide

Open the contributing guide

Research direction

Start from the EditableProTable entry point and reproduce the issue with virtual scrolling, scroll={{y:xxx}}, and left/right arrow navigation between inputs. Done means the table header and body remain aligned after navigation; the issue does not name a source file or test to run.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.