Why do input fields zoom in automatically on an iPhone?

iPhone Safari may zoom when a text input receives focus if the control’s computed font size is smaller than 16 CSS pixels. The browser enlarges the field to make entry readable. Use at least a 16-pixel equivalent font size for editable controls instead of disabling page zoom.
Set the input, textarea and select font explicitly because a reset or component style may make it smaller than the body text. A 16px value is the most direct choice; an equivalent rem value depends on the root size. Check placeholder and entered text in the computed styles.
Do not add maximum-scale=1 or user-scalable=no to suppress the behavior. Zoom restrictions can block users with low vision and do not solve cramped control typography. Modern browsers may also ignore some restrictions.
If the visual design needs smaller surrounding text, keep labels or hints at their appropriate size while the editable value remains 16px or larger. Make the field height and padding comfortable for touch. Confirm that a larger control font does not overflow an inline form or cause icons to overlap.
Test on a real iPhone because desktop device emulation does not reproduce every focus and viewport behavior. Open the keyboard, move among fields and close it. Verify that the page returns to a stable scale and that fixed headers or action bars do not cover the active control. Keep the layout rule beside the component and document why the threshold or constraint exists. This reduces accidental overrides and gives future editors a concrete condition to retest after content changes.