ant-design / ant-design/pro-components
🐛[BUG]使用分组表头(多级表头)时,CellEditorTable 单元格编辑组件无法双击使用
- 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 描述
使用 CellEditorTable 单元格编辑组件,当表头是多级表头(分组表头)时,双击某个单元格,无法显示为可编辑状态
### 📷 复现步骤
1. 实现一个有分组表头的单元格编辑表格
2. 双击表格数据的某个单元格,单元格无法显示为可编辑状态
### 🏞 期望结果
当是分组表头时,双击某个单元格,CellEditorTable 可以变为可编辑状态
### 💻 复现代码
### © 版本信息
- ProComponents 版本: [e.g. ^2.7.9]
- umi 版本
- 浏览器环境
- 开发环境 [e.g. windows 11]
### 🚑 其他信息

Contributor guide
Research direction
Start with the CellEditorTable component and reproduce the reported double-click behavior using a grouped, multi-level table header. Compare it with a flat-header table; done means a cell enters editable state after a double-click when grouped headers are present.
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
- 25/100