ant-design / ant-design/pro-components
🐛[BUG] ProTable 开启虚拟列表后报错”React does not recognize the `offsetX` prop on a DOM element“
Open
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
### 🐛 bug 描述
ProTable 开启虚拟列表后报错”React does not recognize the `offsetX` prop on a DOM element“

### 📷 复现步骤
```
```
### 🏞 期望结果
不会报错。
### 💻 复现代码
### © 版本信息
"@ant-design/pro-table": "^3.16.6"
Edge@126.0.2592.102 (正式版本) (64 位)
开发环境:Windows10
### 🚑 其他信息
Contributor guide
Research direction
Start by reproducing the warning with ProTable's virtual mode, scroll values, and either request or dataSource as shown in the issue. Trace the virtual-list rendering path and verify the completed change by confirming the offsetX warning no longer appears.
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