Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Restore user zooming capability #1645
Right now, all our demos and docs have this meta tag:
The issue is that the minimum-scale=1, maximum-scale=1"portion completely disables the pinch- or double-tap-to-zoom feature which isn’t very “webby” so we’re going to change our meta tag to set a better example of how to code a page in jQuery Mobile. The meta tag is part of the user’s page content so this isn’t a change to the library per-se, but our demos are used as a template for many users so this is important to evangelize.
The proposed meta tag we’ll use will look like this:
On iOS, there is a bug that will incorrectly scale the page when you change orientation which is the reason why we originally used the current meta tag configuration, but we don’t think it’s worth disabling the user’s zoom feature to workaround an iOS bug that may be fixed in the near future. A bug was submitted by Filament Group here: http://filamentgroup.com/examples/iosScaleBug/