From 425cd3576d5e5314644137a494561472a3d7081b Mon Sep 17 00:00:00 2001 From: zjffun Date: Wed, 18 Sep 2019 16:09:12 +0800 Subject: [PATCH] disable delayed drag events during destory --- src/Sortable.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Sortable.js b/src/Sortable.js index 7a8274d21..8e73521a2 100644 --- a/src/Sortable.js +++ b/src/Sortable.js @@ -1652,6 +1652,8 @@ Sortable.prototype = /** @lends Sortable.prototype */ { this._onDrop(); + this._disableDelayedDragEvents(); + sortables.splice(sortables.indexOf(this.el), 1); this.el = el = null;