Rendering problems for Grid with big amount of rows
Hi, in the past there was a problem with rendering in Grid with 40k+ rows (https://github.com/bvaughn/react-virtualized/issues/524). I've found that there is still some problem with this Grid.
Steps to reproduce:
- Problem is visible on Grid with more rows. It works for table with 10000 rows. It doesn't work for table with 40000 rows.
- Problem is visible in Chrome (reproduce on Mac devices and on Linux, even when using magic mouse and also on normal mouse with scrollwheel). Than we will have to do many times quick scrolling down and up.
You can reproduce it on your example https://bvaughn.github.io/react-virtualized/#/components/Grid with 40000 rows.
You will get this problem:


I'm having the same issue exactly. Using a table and the infinite loader. I have a million row count, but 10,000 works fine.
Only happens on trackpad. Seems to work fine if I use the scroll bar.
Hm. I'm unable to reproduce this myself (using Chrome 56.0.2924.87, macOS 10.12.3) on the demo site. I just cranked up the demo to 400,000 rows at 30px height each (12M pixels total). Trackpad "fling" scrolling, scrollbar "drag" scrolling, and arrow-key scrolling all seem fine.

Sorry for crappy demo video. Github has a 10MB limit.
@martinpesout does it flicker if you use the scroll bar to scroll?
To be clear- the above video I attached shows trackpad flinging, scrollbar dragging, and arrow key scrolling as well. All 3 seem fine to me.
It only happens at the very top.
It only happens at the very top.
Ah! That's helpful. I see it now.
I believe I have a fix 😄
Fixed by commit e78036a. Will go out with version 9 (see PR #577)
Sorry for later response. I'm in different timezone 😄 but confirmed. I also had this problem at the top of huge Grids. If I'll move to the middle I cannot reproduce it.
I see that fix is here. Thanks a lot.