Skip to content
This repository
Browse code

Addresses #5041. Event timing difference in iOS 6 was causing zoom to…

… be disabled and immediately re-enabled prior to the zoom taking place.
  • Loading branch information...
commit 20b3e9dc03138fb36acdea0f38bf65b99efe27ec 1 parent bf47907
Mat Marquis authored September 20, 2012

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. 4  js/widgets/forms/select.js
4  js/widgets/forms/select.js
@@ -180,7 +180,9 @@ $.widget( "mobile.selectmenu", $.mobile.widget, {
180 180
 			}
181 181
 		}).bind( "mouseup", function() {
182 182
 			if ( self.options.preventFocusZoom ) {
183  
-				$.mobile.zoom.enable( true );
  183
+				setTimeout(function() {
  184
+					$.mobile.zoom.enable( true );
  185
+				}, 0);
184 186
 			}
185 187
 		});
186 188
 	},

0 notes on commit 20b3e9d

Please sign in to comment.
Something went wrong with that request. Please try again.