on-internet
← Community

How to prevent auto zoom on input focus in iOS while keeping pinch-to-zoom enabled?

Stack Overflow ·

I'm working on a responsive web app. On iPhones, Safari and chrome, automatically zooms in whenever a user focuses on an input or other form controls. I came across a few similar questions here, but couldn't find a suitable answer for my requirement. I don't want to change the existing font size to min 16px. Also, want users to be able to manually pinch-to-zoom on both iOS and Android. Is there any way to prevent automatic zoom on input focus without disabling manual pinch-to-zoom or increasing font size?

Comments

Sign in or sign up to comment and upvote.

No comments yet.