Permalink
Browse files

Select: blur after change to make hideDuringFocus work correctly on A…

…ndroid/Chrome. Fixes #5514
  • Loading branch information...
1 parent 4d6079c commit 40501f3d684036aa79654bdf9fb5ef5b23730224 @jaspermdegroot jaspermdegroot committed Mar 28, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 js/widgets/forms/select.js
@@ -150,6 +150,10 @@ $.widget( "mobile.selectmenu", $.mobile.widget, $.extend( {
// Events on native select
this.select.change(function() {
self.refresh();
+
+ if ( options.nativeMenu ) {
+ this.blur();
+ }
});
this._handleFormReset();

0 comments on commit 40501f3

Please sign in to comment.