[Bug] 分组表格中,当分组内只有一个子项时,编辑属于当前分组的单元格会触发报错。
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 3.7k
- Forks
- 486
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 16
Description
Version
1.19.3
Link to Minimal Reproduction
https://codesandbox.io/p/devbox/nrgx28
Steps to Reproduce
1.访问复现链接:https://codesandbox.io/p/devbox/nrgx28
2.尝试编辑 AAAA 列下的单元格
3.退出编辑后查看 log 控制台:
Current Behavior
1.控制台出现如下报错:
2.数据未及时更新
3.分组未重新调整
Expected Behavior
数据更新后能正常调整分组分组
Environment
- OS: any
- Browser: any
- Framework: any
Any additional comments?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the minimal reproduction at https://codesandbox.io/p/devbox/nrgx28 and reproduce the error by editing a cell in the AAAA column when a group has one child item. Trace the grouped-table editing and regrouping entry points in the TypeScript source. Done means the edit updates the data, produces no console error, and recalculates the group correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100