Skip to content

Commit d3fc101

Browse files
committed
Merge pull request select2#1111 from lazyhammer/fix-choice-focus
Fix focus issue on multi-value select (closes select2#1109)
2 parents c951b72 + aedcc10 commit d3fc101

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

select2.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2194,6 +2194,7 @@ the specific language governing permissions and limitations under the Apache Lic
21942194
this.search.bind("blur", this.bind(function(e) {
21952195
this.container.removeClass("select2-container-active");
21962196
this.search.removeClass("select2-focused");
2197+
this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus");
21972198
if (!this.opened()) this.clearSearch();
21982199
e.stopImmediatePropagation();
21992200
}));

0 commit comments

Comments
 (0)