Skip to content

Commit

Permalink
disable delayed drag events during destory
Browse files Browse the repository at this point in the history
  • Loading branch information
zjffun committed Sep 18, 2019
1 parent 82ce396 commit 425cd35
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Sortable.js
Original file line number Diff line number Diff line change
Expand Up @@ -1652,6 +1652,8 @@ Sortable.prototype = /** @lends Sortable.prototype */ {

this._onDrop();

this._disableDelayedDragEvents();

sortables.splice(sortables.indexOf(this.el), 1);

this.el = el = null;
Expand Down

0 comments on commit 425cd35

Please sign in to comment.