I tested this odd behavior on new Pixel 7 Pro(Android 13) using chrome browser(110.0.5481.63).
Test:
I created a simple app that prints out window,innerWidth
and window.innerHeight
to the screen. I also experienced this behavior using this webpage (https://www.rapidtables.com/web/tools/window-size.html), (Disclaimer: not hosted by me)
on initial load without any user interaction when i enter the address and visit the site using Mobile Chrome on Android device (Pixel 7pro) the dimensions are 412×1101.
on interaction(tap or click refresh) it is 412 x 775
and upon scroll as expected the address bar hides and the dimensions are 412 x 831.
Issue: Why is the initial height 1101 ? I would expect it to be 775 and on scroll when the address bar hides to be 831