From dafb1af1008442c13cee8024a50dade5343e531a Mon Sep 17 00:00:00 2001 From: Alain Dumesny Date: Sat, 27 Feb 2021 21:35:36 -0800 Subject: [PATCH] restore items back when draggin in fix #1433 --- src/gridstack-dd.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gridstack-dd.ts b/src/gridstack-dd.ts index 72c537a4e..4f1754320 100644 --- a/src/gridstack-dd.ts +++ b/src/gridstack-dd.ts @@ -119,6 +119,7 @@ GridStack.prototype._setupAcceptWidget = function(): GridStack { } // re-use the existing node dragging method + delete node._updating; // make sure beginUpdate() is called cleanly on this this._onStartMoving(event, ui, node, cellWidth, cellHeight); } else { // re-use the existing node dragging that does so much of the collision detection