Fix resizing widgets from the top handles in some situations

Fix resizing widgets from the top handles in some situations

When there is no space available below the widget, decreasing the height using one of the top handles is blocked, since the check for the available area is performed with the new y coordinate and the old height. This has to be done with the new height.

Test plan

  • Place widget in a way that there is no space available immediately below it. Drag down from one of the drag handles at the top of the widget -> blocked.

  • Apply patch, test again: not blocked anymore.

Merge request reports

Loading