Check if search should be focused when the dropdown is activated
This commit is contained in:
parent
ad21d01693
commit
ed0bae39c9
@ -2144,7 +2144,11 @@ the specific language governing permissions and limitations under the Apache Lic
|
||||
killEvent(e);
|
||||
}));
|
||||
|
||||
dropdown.on("mousedown touchstart", this.bind(function() { this.search.focus(); }));
|
||||
dropdown.on("mousedown touchstart", this.bind(function() {
|
||||
if (this.opts.shouldFocusInput(this)) {
|
||||
this.search.focus();
|
||||
}
|
||||
}));
|
||||
|
||||
selection.on("focus", this.bind(function(e) {
|
||||
killEvent(e);
|
||||
|
Loading…
Reference in New Issue
Block a user