BugFix: Cannot drag components to the right

This commit is contained in:
navaneeth 2021-04-10 17:10:29 +05:30
parent 1c4da58d8c
commit edf2bb82ff

View file

@ -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