-
-
Notifications
You must be signed in to change notification settings - Fork 78.5k
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
Iphone Safari Auto-zooms on Input selection #2159
Comments
How about not optimizing things for mobile webkit? |
Since this is default behavior for Mobile Safari, I'm inclined not to mess with it. @andriijas: no need to get to snarky about an honest question like this :). |
Project: mediawiki/extensions/MobileFrontend e53eee64d290e35b26a85180ad2603ab086f7968 Bug 49771: Prevent zooming on iOS Giving a font size of at least 16px seems to stop zooming in iOS twbs/bootstrap#2159 Change-Id: I37ea6aefe91e8086468af1f4a564b277663fef19
The easiest way is to set "tabindex=0" for div at top of page. It works for me. |
I know this is long closed, but maybe can we have the default font size of inputs 16px or larger? |
@Haroenv Please file a new ticket instead of necroposting. Thanks. |
When you select an input (such as a text input) in Safari on the Iphone, the viewport zooms in and does not return to normal size when editing has been completed. Two double taps are required to return to the initial viewport size.
Normal size, no zoom:
After input selected, zoomed:
Here are some possible solutions to this (http://stackoverflow.com/questions/2989263/disable-auto-zoom-in-input-text-tag-safari-on-iphone):
Changing the font size (#3) seems like the easiest and most reliable way to do this.
The text was updated successfully, but these errors were encountered: