h5bp/mobile-boilerplate

Reinstate `initial-scale=1` in meta viewport defaults?

alexgibson opened this issue ยท 9 comments

Now that iOS6 has finally fixed the infamous initial-scale bug on meta viewport handling, is it now time to reinstate initial-scale=1 as a default in MBP?

Also, should the current bundled scaleFix helper now be limited to work on just iOS5 and below?

Could it be removed even?

Closing this due to lack of feedback - although personally I think reinstating initial-scale is a good idea now that iOS6 has good adoption rates.

Hey Alex, I think this could be worth reopening since iOS6 has changed things. Just need to ping some of the people involved in the discussions in some of the old the @h5bp/html5-boilerplate issues (e.g. h5bp/html5-boilerplate#1099). Hopefully it will spur some feedback and opinions.

cc @Wilto @jonathantneal @scottjehl @Fatbat

Not that I use the mobile boilerplate, but I like having my sites display at the actual size and not a scaled up version that occurs without initial-scale It's also good to note that the orientation bug was fixed in iOS6.

๐Ÿ‘ for reinstating initial-scale=1

Since initial-scale=1 allows a developer the ability to have content initially displayed at intended scale I see it as a good thing. Further, it doesn't restrict the use of scale by the viewer/user, only sets a baseline from which the user can scale content as they like. That freedom to choose should also be a goal for developers, as well as a plus for users. Isn't that what we're all after?

๐Ÿ‘ for reinstating initial-scale=1

It seems that it's particularly relevant for mobile web apps too.

Agreed, with little to add :)

I'm definitely behind the idea of having the site display at initial-scale=1. It gives the developer a definite baseline to count on when designing layout.

๐Ÿ‘

Ok, adding this back in - thanks for the feedback all :)

Welcome back initial-scale=1 Make us proud! ๐ŸŽ†