table icon indicating copy to clipboard operation
table copied to clipboard

fixFooter 判断不准确,导致 Summary 组件的 fixed 为 'top' 不符合预期

Open Jianjie96 opened this issue 1 year ago • 0 comments

https://github.com/react-component/table/blob/ef7afbca9c582bc49c006b7011ee0cc84f6e4ad3/src/Table.tsx#L362 https://github.com/react-component/table/blob/ef7afbca9c582bc49c006b7011ee0cc84f6e4ad3/src/Table.tsx#L376-L380

如果不给 Table 组件传 scorll.y 或 sticky 属性,那么 Summary 的 fixed 属性赋值为 'top' 是失效的,比如:

https://stackblitz.com/edit/react-gxnxdv?embed=1&file=demo.tsx

image

Jianjie96 avatar Jul 10 '24 13:07 Jianjie96