Context
Leaf of #21061. Julia's review of #21073 asked for the web desktop's windows to resize inside the workspace, the area above the taskbar, through resizablePluginConfig: {boundaryContainerId: workspaceId}. With that config a window cannot be resized at all.
The Problem
A real-browser control in Chromium, on the web desktop at 1280 × 800, with the workspace bottom at 740. A window spans 210–590, and its bottom edge is dragged to 790:
| Config |
Bottom after the drag |
none (boundaryContainerId: 'document.body') |
790, over the taskbar |
resizablePluginConfig: {boundaryContainerId: workspaceId} |
590, unchanged: the resize is pinned to its start size |
| the same config, with the fix below |
740, stopped at the workspace |
The Architectural Reality
Neo.plugin.Resizable#onDragStart (src/plugin/Resizable.mjs) looks for the boundary container on the dragged element's event path, "assuming that the dragEl is not outside of the container".
- A dialog renders on the document body, so a workspace container is never on its path. The fallback then calls
owner.getDomRect(me.boundaryContainerRect) with that rect still null. The measured box is not the container, and the drag is clamped to it.
onDragEnd resets boundaryContainerRect, so each drag measures afresh; only the fallback's argument is wrong.
- Design authority: n/a. The defect excuse is the browser control above; the member's JSDoc is a bare
@member with no description.
The Fix
The fallback measures the container by its id: owner.getDomRect(containerId).
Acceptance Criteria
Out of Scope
- Rect timing: the fallback measures asynchronously, so the first moves of a drag may run before the rect arrives. That is unchanged.
Related
Live latest-open + closed sweep: the latest 20 open (63 open, red band; the owning epic #21061 takes this as a leaf) plus searches for Resizable boundaryContainerId and resizable dialog boundary across all states at 2026-11-16T03:04Z; only #1158 (the config's introduction) is related, and nothing covers this.
Origin Session ID: 7ceb0de7-6fcc-4777-879b-3a305deac77f
Retrieval Hint: "plugin Resizable boundaryContainerId not ancestor fallback getDomRect null dialog body resize pinned"
Context
Leaf of #21061. Julia's review of #21073 asked for the web desktop's windows to resize inside the workspace, the area above the taskbar, through
resizablePluginConfig: {boundaryContainerId: workspaceId}. With that config a window cannot be resized at all.The Problem
A real-browser control in Chromium, on the web desktop at 1280 × 800, with the workspace bottom at 740. A window spans 210–590, and its bottom edge is dragged to 790:
boundaryContainerId: 'document.body')resizablePluginConfig: {boundaryContainerId: workspaceId}The Architectural Reality
Neo.plugin.Resizable#onDragStart(src/plugin/Resizable.mjs) looks for the boundary container on the dragged element's event path, "assuming that the dragEl is not outside of the container".owner.getDomRect(me.boundaryContainerRect)with that rect stillnull. The measured box is not the container, and the drag is clamped to it.onDragEndresetsboundaryContainerRect, so each drag measures afresh; only the fallback's argument is wrong.@memberwith no description.The Fix
The fallback measures the container by its id:
owner.getDomRect(containerId).Acceptance Criteria
dev).Out of Scope
Related
Live latest-open + closed sweep: the latest 20 open (63 open, red band; the owning epic #21061 takes this as a leaf) plus searches for
Resizable boundaryContainerIdandresizable dialog boundaryacross all states at 2026-11-16T03:04Z; only #1158 (the config's introduction) is related, and nothing covers this.Origin Session ID: 7ceb0de7-6fcc-4777-879b-3a305deac77f Retrieval Hint: "plugin Resizable boundaryContainerId not ancestor fallback getDomRect null dialog body resize pinned"