You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I need to specify a top/left for components that are dragged and dropped inside other components from the Layer Manager. The problem is that if the "child to be" component is placed outside the boundaries of the "parent to be" component, when dragging it inside the "parent" from the Layer Manager, it will be placed inside with the same top/left it had in the canvas, therefore it will be "invisible" since the parent has overflow hidden. I need to set it to be placed top:0, left:0 inside the parent, but only when using the Layer Manager. grapesJsEditor.on('component:drag:end', () => {... does not do the trick. Thank's.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I need to specify a top/left for components that are dragged and dropped inside other components from the Layer Manager. The problem is that if the "child to be" component is placed outside the boundaries of the "parent to be" component, when dragging it inside the "parent" from the Layer Manager, it will be placed inside with the same top/left it had in the canvas, therefore it will be "invisible" since the parent has overflow hidden. I need to set it to be placed top:0, left:0 inside the parent, but only when using the Layer Manager. grapesJsEditor.on('component:drag:end', () => {... does not do the trick. Thank's.
Beta Was this translation helpful? Give feedback.
All reactions