Skip to content

Commit

Permalink
Fix clicking select tag
Browse files Browse the repository at this point in the history
  • Loading branch information
cawabunga committed Nov 7, 2019
1 parent ec7b5e9 commit 61a06e7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Sortable.js
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,11 @@ Sortable.prototype = /** @lends Sortable.prototype */ {
return;
}

// Safari ignores further event handling after mousedown
if (!this.nativeDraggable && Safari && target && target.tagName.toUpperCase() === 'SELECT') {
return;
}

target = closest(target, options.draggable, el, false);


Expand Down

0 comments on commit 61a06e7

Please sign in to comment.