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 a89d04f commit 00a9d76
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 00a9d76

Please sign in to comment.