From b854bed468b3b76d1a4962a1ea70e7f059261600 Mon Sep 17 00:00:00 2001 From: wytrych Date: Thu, 20 Oct 2016 11:59:50 +0200 Subject: [PATCH] Remove drag disabiling on mousemove When using drag delay, the event is cancelled on a series of events, including `mousemove` which seems to be always fired on Chrome Android, even in cases when `touchmove` doesn't fire. This cause the drag to never commence when using the delay property. See https://github.com/RubaXa/Sortable/issues/981 --- Sortable.js | 1 - 1 file changed, 1 deletion(-) diff --git a/Sortable.js b/Sortable.js index 2a565763a..2103444fa 100644 --- a/Sortable.js +++ b/Sortable.js @@ -417,7 +417,6 @@ _on(ownerDocument, 'mouseup', _this._disableDelayedDrag); _on(ownerDocument, 'touchend', _this._disableDelayedDrag); _on(ownerDocument, 'touchcancel', _this._disableDelayedDrag); - _on(ownerDocument, 'mousemove', _this._disableDelayedDrag); _on(ownerDocument, 'touchmove', _this._disableDelayedDrag); _this._dragStartTimer = setTimeout(dragStartFn, options.delay);