From e0e57882bcb419c9b25fca553fc5c4659f517a4b Mon Sep 17 00:00:00 2001 From: Kai Shoya Date: Tue, 16 Apr 2024 23:07:45 +0900 Subject: [PATCH] fix: Since the click event does not occur after the touchmove event, set ignoreNextClick to false during touchmove. --- src/Sortable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Sortable.js b/src/Sortable.js index 81ff84494..c923088fb 100644 --- a/src/Sortable.js +++ b/src/Sortable.js @@ -958,7 +958,7 @@ Sortable.prototype = /** @lends Sortable.prototype */ { // Set proper drop events if (fallback) { - ignoreNextClick = true; + ignoreNextClick = evt.type !== 'touchmove'; _this._loopId = setInterval(_this._emulateDragOver, 50); } else { // Undo what was set in _prepareDragStart before drag started