I've tried the following approach:
<meta name="viewport" content="width=device-width, minimal-ui">
and
window.addEventListener('load', function() {
setTimeout(scrollTo, 0, 0, 1);
}, false);
But it hasn't worked. Could you advise something on this?
The best solution I found is this one . Basically make your content higher than viewport and it would become fullscreen (Hiding toolbars) when switching to landscape. Not perfect but usable.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.