Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Select: blur after change to make hideDuringFocus work correctly on A…
Browse files Browse the repository at this point in the history
…ndroid/Chrome. Fixes #5514
  • Loading branch information
jaspermdegroot committed Mar 28, 2013
1 parent 4d6079c commit 40501f3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions js/widgets/forms/select.js
Expand Up @@ -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();
Expand Down

0 comments on commit 40501f3

Please sign in to comment.