I recently had to deal with this issue, you'd think this had to be solved by now.<p>So as suggested on SO: <a href="https://stackoverflow.com/a/55003985" rel="nofollow">https://stackoverflow.com/a/55003985</a>,<p><pre><code> min-height: -webkit-fill-available;
</code></pre>
works exactly as intended in Safari (mobile and desktop), but unfortunately breaks in desktop Chrome for me, so I ended up putting it in a media query for mobile only.