From a579328614658c39d8e8e2a01e91dc4d9fdd0a50 Mon Sep 17 00:00:00 2001 From: Jure Grabnar Date: Thu, 25 Jul 2019 16:37:15 +0200 Subject: [PATCH] Revalidate internal dimension when dragging Close SCI-3673 --- app/assets/javascripts/projects/canvas.js.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/projects/canvas.js.erb b/app/assets/javascripts/projects/canvas.js.erb index 12c662a1b..4e8655d39 100644 --- a/app/assets/javascripts/projects/canvas.js.erb +++ b/app/assets/javascripts/projects/canvas.js.erb @@ -2373,6 +2373,7 @@ function addDraggablesToInstance(elements, gridDistX, gridDistY) { draggedModule.removeClass("collided"); elLeft(draggedModule, leftInitial); elTop(draggedModule, topInitial); + instance.revalidate(draggedModule); instance.repaintEverything(); }