Skip to content

Commit edc9c31

Browse files
authored
Merge pull request #1681 from cawabunga/master
Fix clicking select tag
2 parents 901c5b2 + 61a06e7 commit edc9c31

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Sortable.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,11 @@ Sortable.prototype = /** @lends Sortable.prototype */ {
484484
return;
485485
}
486486

487+
// Safari ignores further event handling after mousedown
488+
if (!this.nativeDraggable && Safari && target && target.tagName.toUpperCase() === 'SELECT') {
489+
return;
490+
}
491+
487492
target = closest(target, options.draggable, el, false);
488493

489494

0 commit comments

Comments
 (0)