Context
The operator's manual test of examples/grid/headerGroups (recording of 2026-11-08 23:57, 19 s) blocks the 13.4 release. Frames from it show three defects in the leaf-header drag:
- The proxy's header loses its styling, sometimes. Dragging
Oct (Q4) shows a proxy whose header cell is white, with no header background and no "Oct" text. The body cells come with it. A later drag of Sep shows a proxy with the blue header and its text. So it is intermittent.
- The proxy drifts out of its group. Dragging
Sep (Q3), the proxy travels over Q4's columns. The drop still lands inside Q3 (Jul | Sep | Aug afterwards), so what the user sees contradicts what the zone will do.
- A group cell selects its text. Pressing and dragging on the "Q3" group cell highlights "Q3" as a text selection.
The Problem
Group membership is a hard rule of the reorder: a leaf never leaves its group. The proxy doesn't show that rule. It floats wherever the pointer goes, then snaps back, which reads as a broken drop. The half-styled proxy and the text selection make the demo look unfinished.
The Architectural Reality
- Design authority: #20379, The Fix step 4: "Header drag can't move a leaf out of its group, and it can't move an ungrouped column into a group." The restriction is intended. Making the proxy honor it, and keeping the proxy's look, calls no decided behavior wrong.
src/draggable/grid/header/toolbar/SortZone.mjs#createDragProxy builds the proxy's header part as {...config.vdom, cls: ['neo-grid-header-toolbar', 'neo-toolbar']} from the base zone's clone of the dragged button. Whether the clone keeps the button's own node, classes and text decides the header's look.
Neo.draggable.container.SortZone already bounds a drag with useItemSortBoundary / getSortBoundaryRect. A grouped leaf's natural boundary is its group's first-to-last leaf extent.
The Fix
- The proxy's header keeps the dragged button's classes and text on every drag. The run-time cause of the intermittent loss is found first, not guessed.
- While a grouped leaf drags, the proxy is clamped to its group's extent, so the refusal is visible as an edge. An ungrouped column's proxy keeps today's range.
- Past its group's edge, a grouped leaf waits in the edge slot under its clamped proxy, and a release keeps that slot. The operator's manual test on 2026-11-09 rejected the earlier park, whose slide back to the resting order read as a second, unexplained slide.
- Group cells set
user-select: none.
Decision Record impact: none.
Acceptance Criteria
Out of Scope
- Dragging a whole group: its own ticket.
- Moving a leaf into another group, which stays refused (#20379). If the operator wants it, that rewrites a leaf's group and changes the data, so it is a separate decision.
Related
#20379 · #20397 · the operator's release block (2026-11-08 23:57)
Live latest-open + closed sweep: I read the latest 20 open issues and ran a closed search ("header group drag proxy") at 2026-11-08 23:0xZ; no equivalent turned up. Backlog band: 13 open, green.
Origin Session ID: dc9981ce-06c3-426d-ac3e-63aeb7f388fa
Context
The operator's manual test of
examples/grid/headerGroups(recording of 2026-11-08 23:57, 19 s) blocks the 13.4 release. Frames from it show three defects in the leaf-header drag:Oct(Q4) shows a proxy whose header cell is white, with no header background and no "Oct" text. The body cells come with it. A later drag ofSepshows a proxy with the blue header and its text. So it is intermittent.Sep(Q3), the proxy travels over Q4's columns. The drop still lands inside Q3 (Jul | Sep | Aug afterwards), so what the user sees contradicts what the zone will do.The Problem
Group membership is a hard rule of the reorder: a leaf never leaves its group. The proxy doesn't show that rule. It floats wherever the pointer goes, then snaps back, which reads as a broken drop. The half-styled proxy and the text selection make the demo look unfinished.
The Architectural Reality
src/draggable/grid/header/toolbar/SortZone.mjs#createDragProxybuilds the proxy's header part as{...config.vdom, cls: ['neo-grid-header-toolbar', 'neo-toolbar']}from the base zone's clone of the dragged button. Whether the clone keeps the button's own node, classes and text decides the header's look.Neo.draggable.container.SortZonealready bounds a drag withuseItemSortBoundary/getSortBoundaryRect. A grouped leaf's natural boundary is its group's first-to-last leaf extent.The Fix
user-select: none.Decision Record impact: none.
Acceptance Criteria
examples/grid/headerGroups: the button's left edge meets the proxy toolbar's, over repeated drags. A colour check alone passes a header shifted out of view, per the reproduction on this ticket).Pressing and dragging on a group cell selects no text.Ships with #20630 (#20627), which restyles the group cells as drag handles and carriesuser-select: none.examples/grid/headerGroupsaccepts the drag (Post-Merge Validation is not enough for a release blocker: reviewed in the PR).Out of Scope
Related
#20379 · #20397 · the operator's release block (2026-11-08 23:57)
Live latest-open + closed sweep: I read the latest 20 open issues and ran a closed search ("header group drag proxy") at 2026-11-08 23:0xZ; no equivalent turned up. Backlog band: 13 open, green.
Origin Session ID: dc9981ce-06c3-426d-ac3e-63aeb7f388fa