ant-design / ant-design/pro-components

🐛[BUG]EditableProTable可编辑表格组件,实时保存且受控时,input的长输入会发生中断

Open
#8,658 2 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

### 🐛 bug 描述

正常进行连续输入:
截屏2024-08-19 15 36 37

出现bug,输入中断,保存为拼音:

截屏2024-08-19 15 37 17

### 📷 复现步骤

可见:https://codesandbox.io/s/modest-dew-7r5ghf?file=/App.tsx

### 🏞 期望结果

输入不发生中断

### 💻 复现代码

可见:https://codesandbox.io/s/modest-dew-7r5ghf?file=/App.tsx

### © 版本信息

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

Contributor guide

Open the contributing guide

Research direction

Start with the App.tsx reproduction in the linked CodeSandbox and exercise EditableProTable with controlled, real-time saving and long input. Compare continuous input with the interrupted pinyin case; done means long text can be entered continuously without interruption.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.