From edf2bb82ff310a72490d8d2bd3b3dfd7bffe87c2 Mon Sep 17 00:00:00 2001 From: navaneeth Date: Sat, 10 Apr 2021 17:10:29 +0530 Subject: [PATCH] BugFix: Cannot drag components to the right --- frontend/src/Editor/Container.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/Editor/Container.jsx b/frontend/src/Editor/Container.jsx index 7cc4c5b067..4dd3db8746 100644 --- a/frontend/src/Editor/Container.jsx +++ b/frontend/src/Editor/Container.jsx @@ -73,7 +73,7 @@ export const Container = ({ snapToGrid, onComponentClick, onEvent, appDefinition ...boxes, [id]: { top: top, - left: 60, + left: left, width: item.width > 0 ? item.width : componentMeta.defaultSize.width, height: item.height > 0 ? item.height: componentMeta.defaultSize.height, component: componentData