V
V
Vladimir2016-09-06 17:48:23
css
Vladimir, 2016-09-06 17:48:23

How to switch to soft-fullscreen mode in mobile safari if body height is 100vh?

Safari on mobile by default shows the address bar at the bottom of the screen, it does not affect the size of the viewport, in order to hide it, it is enough to scroll the site up a little, the trouble is that the page height is exactly 100vh and there is nowhere to scroll it.
Here you can clearly see what address the bar is talking about
https://github.com/gajus/brim
How to hide this crap?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Verkh, 2016-09-06
@sadisme

Maybe

<meta name="apple-mobile-web-app-capable" content="yes" />

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question