One issue I encountered on my website involves a meta tag:
<meta name="viewport" content="width=device-width, initial-scale=1.0">
This, combined with height:100%;
on the html
and body
tags, causes problems when viewed on Safari (iOS 13.5.1). Specifically, when the device is rotated from landscape to portrait mode, a white space appears at the bottom of the screen that is not part of the HTML code.
A minimal example can be seen here: https://jsbin.com/cojabiquza
This issue seems to be related to Safari's behavior of hiding and showing panels during rotation, leading to a miscalculation of page dimensions. Removing the viewport meta tag resolves the problem, but this is not a viable solution for a responsive website like mine. The issue does not occur in other browsers.
If you have experience fixing this issue, please share your insights.