do not take over mouseup event in dropdown. fixes #857
This commit is contained in:
parent
c081d0f00c
commit
179ba17174
@ -657,10 +657,7 @@ the specific language governing permissions and limitations under the Apache Lic
|
|||||||
if ($(e.target).closest(".select2-result-selectable").length > 0) {
|
if ($(e.target).closest(".select2-result-selectable").length > 0) {
|
||||||
this.highlightUnderEvent(e);
|
this.highlightUnderEvent(e);
|
||||||
this.selectHighlighted(e);
|
this.selectHighlighted(e);
|
||||||
} else {
|
|
||||||
this.focusSearch();
|
|
||||||
}
|
}
|
||||||
killEvent(e);
|
|
||||||
}));
|
}));
|
||||||
|
|
||||||
// trap all mouse events from leaving the dropdown. sometimes there may be a modal that is listening
|
// trap all mouse events from leaving the dropdown. sometimes there may be a modal that is listening
|
||||||
|
Loading…
Reference in New Issue
Block a user