I’m having issues with scrolling on my grid.
I’ve noticed that the ‘viewportRowRenderingOffset’ is a bit buggy.
I have a video showing the problem im getting: https://streamable.com/rkwzo
The problem in this particular case is that I have 70 rows. VERY randomly, the number of rows at the end varies depending on the speed we scroll at, which shouldn’t be the case.
Looking at the video, you can see that the first time i scroll, the last row is #68. IF i scroll up and back down again, you can see rows up to #70.
I’m at a loss as to how to fix this. The last row is very random at the moment and I feel like I have zero control over what row handsontable will stop loading at.
In case you need it, this is how im building my grid:
<HotTable
afterChange={this.changeCell}
colHeaders={true}
rowHeaders={true}
columns={columnInfos}
contextMenu={false}
currentColClassName={'currentCol'}
currentRowClassName={'currentRow'}
data={this.state.data}
fixedColumnsLeft={1}
fixedRowsTop={0}
formulas={false}
licenseKey='xxx'
nestedHeaders={columnTitles}
observeChanges={true}
persistentState={true}
ref={this.setHotTableRef}
root='hot'
viewportColumnRenderingOffset={50}
viewportRowRenderingOffset={10}
/>
I’ve modified the ‘viewportRowRenderingOffset’ a few times with no luck whatsoever.