I am using Cocos Creator 3.3.2
My game is running on iPhoneX Chrome browser 99.0.48.44.59
The game run within an iFrame.
After few orientation changes the game suddenly reduced to a different size.
window.innerWidth , window.innerHeight
document.documentElement.clientWidth ,document.documentElement.clientHeight
window.visualViewport.width , window.visualViewport.height
All report incorrect values.
The game works perfectly on the same iFrame on Safari browser.