diff --git a/src/gridstack.js b/src/gridstack.js index 518942def..ca32e2577 100644 --- a/src/gridstack.js +++ b/src/gridstack.js @@ -283,7 +283,7 @@ if (!canBeMoved) { break; } - n._dirty = n.y != newY; + n._dirty = n._origY != newY; n.y = newY; } }, this));