Skip to content

Commit d32cfc6

Browse files
committed
Selectgroup: Force focus to placeholder after opening, ready to receive input for typeahead searches.
Closes georgepaterson#2, which references an issue in Chrom on windows. Not extensively tested, but no untoward behaviour observed in IE8 or FF8.
1 parent 1b40843 commit d32cfc6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ui/jquery.ui.selectgroup.js

+1
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,7 @@
517517
this._position();
518518
this.group.attr('aria-hidden', 'false');
519519
this.isOpen = true;
520+
this.placeholder[0].focus(); //Force focus back to the placeholder ready for any typeahead searches...
520521
},
521522
close: function() {
522523
// Close the selectgroup.group.

0 commit comments

Comments
 (0)