Inactivehelp wanted📝 Documentation
描述
Reproduction link
https://ant-design.antgroup.com/components/table-cn#table-demo-resizable-column
Steps to reproduce
打开重现链接,进入官网的可伸缩列 demo 反复拖拽第一列的宽度
What is expected?
性能流畅,而且鼠标的位置与拖拽手柄的位置始终同步,并且鼠标放开一定会退出拖拽状态。 看看 AG Grid 是什么效果即可理解预期行为:https://www.ag-grid.com/example/
What is actually happening?
1.性能卡顿 2.鼠标的位置有时会与拖拽手柄失去同步 3.有时鼠标放开了之后仍然处于拖拽中的状态,此时需要点击一次鼠标来退出拖拽状态
| Environment | Info |
|---|---|
| antd | 6.1.1 |
| React | 19 |
| System | Windows 11 25H2 |
| Browser | Microsoft Edge 143.0.3650.96 (正式版本) (64 位) |
1.不接受 tableLayout=fixed 相关的临时方案,它带来的性能收益小于它带来的布局问题 2.我录制了视频来说明遇到的问题,将会追加附件