Skip to content

Commit 179ba17

Browse files
committed
do not take over mouseup event in dropdown. fixes select2#857
1 parent c081d0f commit 179ba17

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

select2.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -657,10 +657,7 @@ the specific language governing permissions and limitations under the Apache Lic
657657
if ($(e.target).closest(".select2-result-selectable").length > 0) {
658658
this.highlightUnderEvent(e);
659659
this.selectHighlighted(e);
660-
} else {
661-
this.focusSearch();
662660
}
663-
killEvent(e);
664661
}));
665662

666663
// trap all mouse events from leaving the dropdown. sometimes there may be a modal that is listening

0 commit comments

Comments
 (0)