Skip to content

Commit 20b3e9d

Browse files
committed
Addresses jquery-archive#5041. Event timing difference in iOS 6 was causing zoom to be disabled and immediately re-enabled prior to the zoom taking place.
1 parent bf47907 commit 20b3e9d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

js/widgets/forms/select.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,9 @@ $.widget( "mobile.selectmenu", $.mobile.widget, {
180180
}
181181
}).bind( "mouseup", function() {
182182
if ( self.options.preventFocusZoom ) {
183-
$.mobile.zoom.enable( true );
183+
setTimeout(function() {
184+
$.mobile.zoom.enable( true );
185+
}, 0);
184186
}
185187
});
186188
},

0 commit comments

Comments
 (0)