Leonard-Li777 / antd-table-infinity

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

pagesize less than visible row count #33

Open sklinov opened 4 years ago

sklinov commented 4 years ago

I'm using InfinityTable in my project with additional filtering based on antd v4.

One of my filters change the array passed to dataSource prop, and I set my pageSize={data.length}. But when I do filtering and number of rows is decreased, for example to 0, I'm getting this error: pagesize(0) less than visible row count(8), maybe you set error! In the library code I saw visibleRowCount variable, but how can we access it?

Is there a way to fix this? Thanks!