Leonard-Li777 / antd-table-infinity

An infinite scroll component based on antd-table that supports virtual scrolling
Other
284 stars 47 forks source link

index.js:2178 Warning: Each record in table should have a unique `key` prop,or set `rowKey` to an unique primary key. #6

Closed alvin0216 closed 5 years ago

alvin0216 commented 5 years ago

原因是我重写的 rowKeys 覆盖不到 rowKey={record => record.key} ,而且滚动过快会有短暂的空白区。

image

anyway, 多谢

Leonard-Li777 commented 5 years ago

rowKeys 的问题 fixed in antd-table-infinity@1.1.2

空白区在所难免,从确认滚动位置到从内存获取数据展示是有一定宣染成本的