Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add shrink-to-fit to viewport meta tag #1815

Closed
ireade opened this issue Apr 3, 2016 · 2 comments
Closed

Add shrink-to-fit to viewport meta tag #1815

ireade opened this issue Apr 3, 2016 · 2 comments
Milestone

Comments

@ireade
Copy link

ireade commented Apr 3, 2016

For responsive websites to be compatible with Safari in Split View, Apple recommends the addition of "shrink-to-fit=no" to the viewport meta tag (See iOS 9.1 doc)

<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">  

An article on why shrink-to-fit was added

May I submit a PR with this addition?

@paulirish
Copy link
Member

AFAICT, it was added because people were using width=device-width, initial-scale=1 without understanding what they do.

my concern is that having shrink-to-fit in here would end up with the same result.

@warengonzaga
Copy link
Contributor

got a good point!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants