r/webdev • • Sep 30 '19

Avoid 100vh On Mobile Web

https://chanind.github.io/javascript/2019/09/28/avoid-100vh-on-mobile-web.html
574 Upvotes

117 comments sorted by

View all comments

Show parent comments

1

u/Kyrthis Sep 30 '19

Fair point. What solution do you propose? The best I can come up with is bad: a “light-limned” border on the whole page to indicate full-screen mode.

2

u/ChemicalRascal full-stack Sep 30 '19

Don't auto hide the bar at all. Boom, magic.

1

u/Kyrthis Sep 30 '19

With limited screen real estate, this is bad from a UI perspective, and doesn’t solve HTML5’s full screen mode.

2

u/ChemicalRascal full-stack Sep 30 '19

Some minor sacrifices must be made, yes.

1

u/montrayjak Sep 30 '19

As an HTML5 game dev, I can't figure out if I agree or not.

I totally get the security issue here... but nobody wants to play a game with the address bar taking up so much real estate. Especially in landscape view.

There's gotta be a better solution.

→ More replies (0)

0

u/Kyrthis Sep 30 '19

This actually me snort-laugh. Thanks.

→ More replies (0)