Scroll slow when not set width

Tags: #<Tag:0x00007efc65222190>

I test most version of handsontable include pro version, I found if I not set width and height, i work bad when scroll, if i set width and height , i work perfect!! I want to known why??

test code:
var
example = document.getElementById(‘example1’),
hot1;

hot1 = new Handsontable(example,{
data: Handsontable.helper.createSpreadsheetData(1000, 1000),
colWidths: [55, 80, 80, 80, 80, 80, 80],
rowHeaders: true,
colHeaders: true,
contextMenu: true ,
autoRowSize: true,
autoColSize: true ,
width: $(window).width()-100,//very important!!
height: $(window).height()-100//very important!!
});

hot1.render();

Hi @wuzunqian

Please check this short tutorial about performance in Handsontable: https://docs.handsontable.com/pro/1.10.0/tutorial-performance-tips.html

if you set width and height for Handsontable and its elements the script doesn’t need to recalculate the table dimensions while user performs actions.