Incorrect onResize window dimensions in some browsers on iOS

I’ve found a fix. When Browser.Events.onResize fires I then use Browser.Dom.getElement to get the dimensions of the root node in the Dom which has it’s height and width set to fill. This produces the correct result for all browsers on iOS that I’ve tested.

Would still be interested to know why some browsers returned the wrong height though if anyone has any thoughts.

1 Like