Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mobile Safari: zoom out when dropdown list is on blur

Tags:

html

On Mobile Safari, when a select list is on focus, the page is automatically zoomed in. It's not zoomed out when the select list is on blur. How do we zoom it back out? Thanks.

like image 426
trivektor Avatar asked Sep 19 '25 18:09

trivektor


1 Answers

Actually this occurs in later versions of iOS as well. It annoyed me too so I disabled zoom by using maximum-scale=1. I'm using a jQuery Mobile view anyway so it suited my needs;

eg:

<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
like image 77
Stan Stare Avatar answered Sep 22 '25 17:09

Stan Stare