Context
This surfaced while measuring #20585 (the Pointer Events sensor) on the component tier. The DockSplitterIframePane page left its dashboard.Container stamped neo-is-dragging after a splitter drag. @neo-gemini-maryam traced the mechanism in the Depth Floor of review 5817047622 on #20585.
Reproduced on dev @ 22f79ac1e9 with a new component arm (test/playwright/component/dashboard/DockSplitterSortZone.spec.mjs), 3/3 red:
Error: the dashboard opens no sort session during a splitter drag
Expected: false
Received: true
A probe on the same arm read the stamp every 250 ms after release. It was still present 15 s later in 3/3 runs.
The Problem
Every Neo.component.Splitter carries neo-draggable in its baseCls (src/component/Splitter.mjs:40; DockSplitter at src/dashboard/dock/interaction/DockSplitter.mjs:72). A dashboard.Container is dragResortable: true by default, and its SortZone listens for drag:start / drag:move / drag:end on the delegate .neo-draggable (src/draggable/container/DragZone.mjs:30-37).
The splitter registers its own drag:start / drag:end listeners without bubble: false (src/component/Splitter.mjs:94-97). So DomEvent#fire (src/manager/DomEvent.mjs:180-255) carries the splitter's drag:start up the component path to the dashboard. SortZone#onDragStart (src/draggable/container/SortZone.mjs:881) finds the splitter among getSortableItems(), because the generic isDraggableItem admits every component item, and opens a sort session for it: proxy, placeholder, and the neo-is-dragging stamp (src/draggable/DragZone.mjs:553). The main thread routes the gesture to the splitter's own DragZone, so the dashboard's session never reaches a terminal that clears the stamp.
The visible result: body:has(.neo-is-dragging) * { pointer-events: none !important } (resources/scss/src/draggable/DragProxyComponent.scss) stays active, and the page stops taking pointer input after one splitter drag.
Reach. No app or example in this repository puts a splitter directly inside a dashboard.Container. The dock's LayoutAdapter places its splitters in plain containers (src/dashboard/dock/projection/LayoutAdapter.mjs:663-668, 957-977, 1157). Any consumer who puts a splitter in a sortable dashboard hits the defect, and the DockSplitterIframePane component page is built that way.
The Architectural Reality
- Design authority: the
DockSplitterIframePane.spec.mjs header records the contract: "a splitter resize opens no session at all".
DomEvent#fire ends the path walk once a listener declares bubble: false (src/manager/DomEvent.mjs:228-229, 252). That is the engine's existing way for a component to own an event; MonthYearSelector, DateSelector, Circle, Gallery and Helix use it.
- The SortZone already handles the no-session case.
onDragMove returns without itemRects (src/draggable/container/SortZone.mjs:737; dashboard override src/draggable/dashboard/SortZone.mjs:434), and processDragEnd returns without dragComponent (:586). So drag:move, which keeps bubbling, stays a no-op on the parent.
- No listener in
src/, apps/ or examples/ relies on a splitter's drag:start / drag:end reaching an ancestor. Grep receipt: the eight drag:start / drag:end registrants in src/ are all their own drag sources, and none exist in apps/ or examples/.
The Fix
In src/component/Splitter.mjs construct(), register the splitter's drag:start and drag:end listeners with bubble: false. The splitter is the innermost drag source and owns its gesture, so no ancestor delegate (a SortZone, a Resizable, a dialog header) reacts to it. DockSplitter inherits the change.
Acceptance Criteria
Out of Scope
- A general "the innermost drag source owns the gesture" rule in
DomEvent for every nested drag source. That is a wider engine decision. This ticket fixes the splitter, whose gesture is never content to sort.
Avoided Traps
- Excluding splitters in
container.DragZone#isDraggableItem (the other option in the trace). It would hard-code one component type into the generic container contract and change the sort index map of containers that hold splitters between sortable items. The bubbling drag:end would also still reach every ancestor.
- Clearing
neo-is-dragging on release. As #17883's traps put it, a stuck class is a symptom; clearing it would hide a session that should never have opened.
Related
- #20585: where it surfaced, with the review trace.
- #17883: the iframe-crossing splitter arm whose page composes the dashboard.
- #20497: the 13.4 cut that this pre-existing finding should not ship into.
Live latest-open + closed sweep: checked latest 20 open + closed searches ("splitter drag sort dashboard", "neo-is-dragging splitter"; Out of Scope / Avoided Traps read on #17883 and #8441) at 2026-11-08T08:01Z; no equivalent or prior exclusion found.
A2A in-flight sweep: last 30 messages (all read states), no claim on this scope.
MC sweep: "splitter drag leaves the dashboard stuck dragging, page stops taking pointer input after resize", 6 results, no prior decision found.
Own-assignment sweep: 2 open (#20497, #17171), none overlapping.
Origin Session ID: 6a6777e3-6518-4cc5-ae02-dc5b1f497005
Retrieval Hint: "splitter drag:start bubbles into the parent dashboard SortZone"
Context
This surfaced while measuring #20585 (the Pointer Events sensor) on the component tier. The
DockSplitterIframePanepage left itsdashboard.Containerstampedneo-is-draggingafter a splitter drag. @neo-gemini-maryam traced the mechanism in the Depth Floor of review 5817047622 on #20585.Reproduced on
dev@22f79ac1e9with a new component arm (test/playwright/component/dashboard/DockSplitterSortZone.spec.mjs), 3/3 red:A probe on the same arm read the stamp every 250 ms after release. It was still present 15 s later in 3/3 runs.
The Problem
Every
Neo.component.Splittercarriesneo-draggablein itsbaseCls(src/component/Splitter.mjs:40;DockSplitteratsrc/dashboard/dock/interaction/DockSplitter.mjs:72). Adashboard.ContainerisdragResortable: trueby default, and its SortZone listens fordrag:start/drag:move/drag:endon the delegate.neo-draggable(src/draggable/container/DragZone.mjs:30-37).The splitter registers its own
drag:start/drag:endlisteners withoutbubble: false(src/component/Splitter.mjs:94-97). SoDomEvent#fire(src/manager/DomEvent.mjs:180-255) carries the splitter'sdrag:startup the component path to the dashboard.SortZone#onDragStart(src/draggable/container/SortZone.mjs:881) finds the splitter amonggetSortableItems(), because the genericisDraggableItemadmits every component item, and opens a sort session for it: proxy, placeholder, and theneo-is-draggingstamp (src/draggable/DragZone.mjs:553). The main thread routes the gesture to the splitter's own DragZone, so the dashboard's session never reaches a terminal that clears the stamp.The visible result:
body:has(.neo-is-dragging) * { pointer-events: none !important }(resources/scss/src/draggable/DragProxyComponent.scss) stays active, and the page stops taking pointer input after one splitter drag.Reach. No app or example in this repository puts a splitter directly inside a
dashboard.Container. The dock'sLayoutAdapterplaces its splitters in plaincontainers (src/dashboard/dock/projection/LayoutAdapter.mjs:663-668,957-977,1157). Any consumer who puts a splitter in a sortable dashboard hits the defect, and theDockSplitterIframePanecomponent page is built that way.The Architectural Reality
DockSplitterIframePane.spec.mjsheader records the contract: "a splitter resize opens no session at all".DomEvent#fireends the path walk once a listener declaresbubble: false(src/manager/DomEvent.mjs:228-229,252). That is the engine's existing way for a component to own an event;MonthYearSelector,DateSelector,Circle,GalleryandHelixuse it.onDragMovereturns withoutitemRects(src/draggable/container/SortZone.mjs:737; dashboard overridesrc/draggable/dashboard/SortZone.mjs:434), andprocessDragEndreturns withoutdragComponent(:586). Sodrag:move, which keeps bubbling, stays a no-op on the parent.src/,apps/orexamples/relies on a splitter'sdrag:start/drag:endreaching an ancestor. Grep receipt: the eightdrag:start/drag:endregistrants insrc/are all their own drag sources, and none exist inapps/orexamples/.The Fix
In
src/component/Splitter.mjsconstruct(), register the splitter'sdrag:startanddrag:endlisteners withbubble: false. The splitter is the innermost drag source and owns its gesture, so no ancestor delegate (a SortZone, a Resizable, a dialog header) reacts to it.DockSplitterinherits the change.Acceptance Criteria
test/playwright/component/dashboard/DockSplitterSortZone.spec.mjs: during a held splitter drag inside adashboard.Container, the dashboard carries noneo-is-dragging, and after release neitherneo-drag-activenor the stamp remains. Red ondev22f79ac1e9(3/3), green with the fix.test/playwright/component/dashboard/DockSplitter*.spec.mjsandtest/playwright/unit/component/Splitter.spec.mjs, plus the full unit tier.DockSplitterZoneIdNL,WorkstationEdgeSplitterNL,WorkstationSplitterGridGeometryNL,WorkstationDragTextSelectionNL.Out of Scope
DomEventfor every nested drag source. That is a wider engine decision. This ticket fixes the splitter, whose gesture is never content to sort.Avoided Traps
container.DragZone#isDraggableItem(the other option in the trace). It would hard-code one component type into the generic container contract and change the sort index map of containers that hold splitters between sortable items. The bubblingdrag:endwould also still reach every ancestor.neo-is-draggingon release. As #17883's traps put it, a stuck class is a symptom; clearing it would hide a session that should never have opened.Related
Live latest-open + closed sweep: checked latest 20 open + closed searches ("splitter drag sort dashboard", "neo-is-dragging splitter"; Out of Scope / Avoided Traps read on #17883 and #8441) at 2026-11-08T08:01Z; no equivalent or prior exclusion found. A2A in-flight sweep: last 30 messages (all read states), no claim on this scope. MC sweep: "splitter drag leaves the dashboard stuck dragging, page stops taking pointer input after resize", 6 results, no prior decision found. Own-assignment sweep: 2 open (#20497, #17171), none overlapping.
Origin Session ID: 6a6777e3-6518-4cc5-ae02-dc5b1f497005 Retrieval Hint: "splitter drag:start bubbles into the parent dashboard SortZone"