Attached is a screencast. this has been previously reported, but closed without a fix.
Using List & Autosizer only, why does it throw and error in Grid?
Should not throw an error and I should be able to scroll smoothly
9.20.1
Chrome - latest - macOS
I have the same error. In my case,
I keep update the value columnCount and columnWidth when resize.
I found that the error occur when Grid change from scrollable to cannot scroll
My issue solved by adding Math.ceil for calculating the number of rows
<Grid
columnCount={columnCount}
columnWidth={columnWidth + spacer}
- rowCount={list.length / columnCount}
+ rowCount={Math.ceil(list.length / columnCount)}
...
/>
Most helpful comment
My issue solved by adding
Math.ceilfor calculating the number of rows