Skip to content

Commit

Permalink
disable delayed drag events during destory
Browse files Browse the repository at this point in the history
disable delayed drag events during destory
  • Loading branch information
owen-m1 authored Oct 12, 2019
2 parents e979370 + 425cd35 commit 118828d
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 @@ -1654,6 +1654,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 118828d

Please sign in to comment.