The code:
<select>
<option value="1">Home</option>
<option value="2">About</option>
<option value="3">Services</option>
<option value="4">Contact</option>
</select>
When I touch select, the iPhone zooms in that element (and does not zoom out after deselecting).
How can I prevent this? Or zoom back out? I can’t use user-scalable=no because I actually need that functionality. It’s for iPhone, select menu.
UPDATE:
This method no longer works on iOS 10.
It depend from the Viewport, you can disable it in this way:
add
user-scalable=0and it should work on your inputs as well.