-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Describe the bug
When a component is dropped inside a ContainerComponent , dragging the nested child component also incorrectly triggers the drag operation for the parent container, causing both elements to move simultaneously.
Steps to reproduce
Drag a ContainerComponent onto the canvas.
Drag any basic component (e.g., TextComponent, ImageComponent) and drop it inside the ContainerComponent.
Attempt to drag the newly nested child component.
Observe: Both the child component and the parent ContainerComponent move together.
Expected behavior
When a nested component is dragged, only the nested component should move. The parent ContainerComponent should remain stationary, serving only as the coordinate system for the child.
What is actually happening?
When a component is dropped inside a ContainerComponent , dragging the nested child component also incorrectly triggers the drag operation for the parent container, causing both elements to move simultaneously.
Screenshots
Any additional comments?
No response