Dragged widgets are not dropped in the same positions that they were moved from. Instead they are dropped in the order they were placed in the previous container.
This is not expected behavior, and I think they should have been dropped with the same snap points they were moved from.
Possibly related to #34806
Created a new issue because this is drag and drop, not copy paste, and the behavior is slightly different.
Steps To Reproduce
Drag a button onto the canvas to create a new Section and Zone.
a. The button should snap to the left.
Drag another button directly under the first one in the same Zone.
Drag an Input widget under the second button in the same Zone.
Drag a third button between the second button and the Input.
a. This button should snap to the right side of the Zone.
Add a second Zone to the parent Section.
Select all four widgets in Zone1.
Drag the selection to Zone2.
Observe that the widgets are pasted in along the same line, and in the order they were placed in Zone1.
Select and delete all three buttons and the input.
Perform steps 1, 3, 2, and 4 again in that order. Use Zone1 instead of a new section for step 1.
Select all four widgets in Zone1.
Drag the selection to Zone2.
Observe that the widgets are pasted in along the same line, and in the new order they were placed.
We have found issues that are potential duplicates:
[#34806] [Bug]: Copied widgets are not pasted in the expected position (86.73%)
If any of the issues listed above are a duplicate, please consider closing this issue & upvoting the original one.
Alternatively, if neither of the listed issues addresses your feature/bug, keep this issue open.
We have found issues that are potential duplicates:
[#34806] [Bug]: Copied widgets are not pasted in the expected position (86.73%)
If any of the issues listed above are a duplicate, please consider closing this issue & upvoting the original one.
Alternatively, if neither of the listed issues addresses your feature/bug, keep this issue open.
Is there an existing issue for this?
Description
Dragged widgets are not dropped in the same positions that they were moved from. Instead they are dropped in the order they were placed in the previous container.
This is not expected behavior, and I think they should have been dropped with the same snap points they were moved from.
Possibly related to #34806 Created a new issue because this is drag and drop, not copy paste, and the behavior is slightly different.
Steps To Reproduce
Drag a button onto the canvas to create a new Section and Zone. a. The button should snap to the left.
Drag another button directly under the first one in the same Zone.
Drag an Input widget under the second button in the same Zone.
Drag a third button between the second button and the Input. a. This button should snap to the right side of the Zone.
Add a second Zone to the parent Section.
Select all four widgets in Zone1.
Drag the selection to Zone2.
Observe that the widgets are pasted in along the same line, and in the order they were placed in Zone1.
Select and delete all three buttons and the input.
Perform steps 1, 3, 2, and 4 again in that order. Use Zone1 instead of a new section for step 1.
Select all four widgets in Zone1.
Drag the selection to Zone2.
Observe that the widgets are pasted in along the same line, and in the new order they were placed.
Public Sample App
No response
Environment
Release
Severity
Medium (Frustrating UX)
Issue video log
No response
Version
Appsmith v1.31.0-SNAPSHOT