From 61a06e7c62590addfae6bcbe4d8eead00efb6429 Mon Sep 17 00:00:00 2001 From: Emil Ibatullin Date: Thu, 7 Nov 2019 14:23:30 +0300 Subject: [PATCH] Fix clicking select tag --- src/Sortable.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Sortable.js b/src/Sortable.js index 048a38b1c..a509a83c5 100644 --- a/src/Sortable.js +++ b/src/Sortable.js @@ -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);