Toolbars, keyboards, and the viewports

Peter-Paul Koch
Feb 22, 2017 · 6 min read
Image for post
Image for post
Not this kind of viewport (public domain)

The resize event

Common visual viewport changes

Meta viewport change

var metaViewport = document.querySelector('meta[name=viewport]');
metaViewport.setAttribute('width','380');

Toolbars and keyboards

Keyboards in Safari/iOS

Conclusion

Samsung Internet Developers

Writings from the Samsung Internet Developer Relations…

Peter-Paul Koch

Written by

Browsers all the way down. Why is there a browser on this orange?

Samsung Internet Developers

Writings from the Samsung Internet Developer Relations Team. For more info see our disclaimer: https://hub.samsunginter.net/about-blog

Peter-Paul Koch

Written by

Browsers all the way down. Why is there a browser on this orange?

Samsung Internet Developers

Writings from the Samsung Internet Developer Relations Team. For more info see our disclaimer: https://hub.samsunginter.net/about-blog

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store