Skip to content

Commit f097630

Browse files
committed
Fix issue of the select menu not closing on Chrome when we click out out of the menu or on the selected option
1 parent 1e01306 commit f097630

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

js/jquery.mobile.forms.select.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,7 @@ $.widget( "mobile.selectmenu", $.mobile.widget, {
585585
else{
586586
self.screen.addClass( "ui-screen-hidden" );
587587
self.listbox.addClass( "ui-selectmenu-hidden" ).removeAttr( "style" ).removeClass( "in" );
588+
self.list.appendTo( self.listbox );
588589
self._focusButton();
589590
}
590591

0 commit comments

Comments
 (0)