Table数据为空时,thead和summary会错位
Author: dislidoCreated May 11, 2026Updated Sep 21, 2026
Labels🐛 BugInactive
Reproduction link
Steps to reproduce
Table组件设置scroll.y- 添加
summary和多个column,dataSource为空
What is expected?
summary中的单元格和thead中的单元格对齐
What is actually happening?
两个地方的单元格发生错位
| Environment | Info |
|---|---|
| antd | 6.3.7 |
| React | 19.2.0 |
| System | windows 11 |
| Browser | Edge 134 |
Source: ant-design/ant-design