hot.updateSettings does not take effect

I’m trying to resize the table when the window changes, but it’s not working.
Even when specifying a number in updateSettings, the height displayed in the browser was different.
However, when retrieved using hot.getSettings().height, it was the number I had set.

The browser’s displayed height differs from the height set in updateSettings.

The issue started occurring in 16.1.1 and did not occur in 16.1.0.

function resize() {
var client_w = window.innerWidth - 30;
var client_h = window.innerHeight - 200;
hot.updateSettings({
width: client_w,
height: client_h
});
}

function resizeWindow(){
console.log(‘Resize’);
resize();
}
window.onresize = resizeWindow;

Hi @mitsunobu.kaneko

Please share a code demo in jsFiddle or StackBlitz showing your current implementation.

1 Like

OK!

We are creating a sample that causes the same symptoms.
However, for some reason, the same symptoms do not occur.
Please wait a little longer.

Hi @mitsunobu.kaneko

Of course, please keep me updated.

Hi @mitsunobu.kaneko do we have any updates here?

Hi.
Sorry for the late reply. I can’t reproduce the issue in another environment. I’m not sure what’s different about my environment.
For now, if it can’t be reproduced, I would like it to be closed.

Thank you for the feedback.

Please feel free to create a new topic when needed.

1 Like