Skip to content

Commit

Permalink
Merge pull request #154 from lubber-de/fix/153
Browse files Browse the repository at this point in the history
[Dropdown] Single Selection via keyboard gained focus again Fixes #153
  • Loading branch information
Sean authored Oct 5, 2018
2 parents ae96ffe + a7c7c29 commit 776d6d5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/definitions/modules/dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -1451,7 +1451,9 @@ $.fn.dropdown = function(parameters) {
module.event.item.click.call($selectedItem, event);
if(module.is.searchSelection()) {
module.remove.searchTerm();
$search.focus();
if(module.is.multiple()) {
$search.focus();
}
}
}
event.preventDefault();
Expand Down

0 comments on commit 776d6d5

Please sign in to comment.