Permalink
Browse files

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

…ndroid/Chrome. Fixes #5514
  • Loading branch information...
jaspermdegroot committed Mar 28, 2013
1 parent dcdf48f commit f1fde74689069d7a29c12d6057728511ec7ae93a
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 f1fde74

Please sign in to comment.