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
If you have a simple toolbox (ie just a flyout) you can modify the blocks within the flyout before dragging them out. When you modify the blocks, this can cause the size of the flyout to change. However, the delete area is still the old size.
To Reproduce
Steps to reproduce the behavior:
Go to the advanced playground and open the simple toolbox.
Drag any block out of the flyout.
Go down to the last block in the flyout and change the dropdown from "letter #" to "letter # from end" to make the flyout wider.
Drag the block you created back over the flyout, and observe how the delete area is still the old size.
Note: if you switch steps 2 and 3, it doesn't reproduce. No clue what's up with that.
Expected behavior
The delete area should update based on the size of the flyout.
Screenshots
The text was updated successfully, but these errors were encountered:
Drag target areas are re-calculated when WorkspaceSvg.prototype.recordDragTargets is called.
In this case, we would need to trigger re-calculating the drag targets when the flyout resizes with a call to recordDragTargets.
Describe the bug
If you have a simple toolbox (ie just a flyout) you can modify the blocks within the flyout before dragging them out. When you modify the blocks, this can cause the size of the flyout to change. However, the delete area is still the old size.
To Reproduce
Steps to reproduce the behavior:
Note: if you switch steps 2 and 3, it doesn't reproduce. No clue what's up with that.
Expected behavior
The delete area should update based on the size of the flyout.
Screenshots
The text was updated successfully, but these errors were encountered: