bvaughn / react-window

React components for efficiently rendering large lists and tabular data
https://react-window.now.sh/
MIT License
15.72k stars 782 forks source link

Total count above 645277 does-not work #647

Closed source-ram closed 3 weeks ago

source-ram commented 2 years ago

I have my own web-socket implementation to read and parse large files. Even though i have only 1000 lines in memory, i was using the index as a pointer for line number. When the itemCount is set above 700K the react-window component don't show any rows after 645277.

itemCount={totalrows} itemSize={26} overscanCount={50}

<div style="position: absolute; left: 0px; top: 1.67772e+07px; height: 26px; width: 100%;"><table class="table table-sm table-hover"><tbody><tr><td style="width: 50px; color: rgb(67, 160, 71);">645278</td><td></td></tr></tbody></table></div>

source-ram commented 2 years ago

This issue is not there in react-virtualized.

bmingles commented 1 year ago

I can reproduce this with roughly 419K items as well with itemSize set to 40. My inner container div seems to have a computed height: 1.67772e+07px. Basically, things no longer scroll once I get to item 419,430

JunsikLee commented 1 year ago

The same problem occurs

mrdulin commented 7 months ago

+1