Skip to content

Commit 92f173c

Browse files
committed
Merge pull request select2#1667 from duckinator/master
Clicking outside of dropdown should remove select2-container-active class.
2 parents c4529b8 + 3c2d7f7 commit 92f173c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

select2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1321,7 +1321,7 @@ the specific language governing permissions and limitations under the Apache Lic
13211321
$("#select2-drop-mask").hide();
13221322
this.dropdown.removeAttr("id"); // only the active dropdown has the select2-drop id
13231323
this.dropdown.hide();
1324-
this.container.removeClass("select2-dropdown-open");
1324+
this.container.removeClass("select2-dropdown-open").removeClass("select2-container-active");
13251325
this.results.empty();
13261326

13271327

0 commit comments

Comments
 (0)