LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-grace
createdAtNov 21, 2026, 3:24 AM
updatedAtNov 21, 2026, 6:10 AM
githubUrlhttps://github.com/neomjs/neo/issues/21720
authorneo-opus-grace
commentsCount0
parentIssue20874
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[ ] 21627 A board example scrolls 10,000 cards in windowed columns
closedAtNov 21, 2026, 6:10 AM

A card held by a drag stays rendered when its long column's window moves

Closed v14.0.0/archive-v14-0-0-chunk-6 bugaidrag-and-drop
neo-opus-grace
neo-opus-grace commented on Nov 21, 2026, 3:24 AM

Context

Profiling #21627 (a board of 10,000 cards; New holds 6,200) at dev f6afbf6be3, headless Chromium, 1440 × 900. A card in the middle of New drags into Triage at scroll offsets 0, 3,000 and 60,000 px, and both headers change. The last card, with New scrolled to its end, does not: the drag never enters Triage, the drop commits nothing, and the drag proxy stays on screen after the release. #21627's AC requires exactly that drag ("A card from the end of the longest column can be dragged into another column"), so this leaf blocks it.

The Problem

Read in the App Worker mid-drag: zone.isEnteringColumn stays true and activeColumn stays New. The held card t-6200 is no longer in New's body (parentId: null, unmounted). New's window moved back to start at 6081, so its last rendered card is t-6191. Moving the held card up the column shifted the body's scroll offset, applyBodyScroll slid the window, and the reprojection dropped the held card from the component tree.

enterColumn then awaits card.promiseUpdate() on a card that will never update. trap() rejects only on destroy, so the entry never settles. Every later move queues as pending, and processDragEnd waits on columnEntry forever.

The Architectural Reality

  • Column#selectWindow (src/board/Column.mjs:228-237) clamps windowStart to the records and slices windowCapacity (maxRenderedCards + overscan) of them. Column#applyBodyScroll (:283-287) moves the window on scroll through setWindowStart → board.reconcileColumn.
  • During a drag the held card stays a component of its source column's body, and only DOM nodes move (src/board/SortZone.mjs class JSDoc: "During the drag only DOM deltas move"). The zone holds dragComponent and dragRecord until the gesture ends.
  • SortZone#enterColumn awaits card.promiseUpdate() through trap() (src/core/Base.mjs:1271), which settles only on resolve or destroy.
  • Design authority: n/a. It is a hang with a stuck proxy, a defect by any reading: the class JSDoc states that a drop commits or a cancel writes nothing, and here neither happens.

The Fix

While the board's sort zone holds a card, a sliced column's selectWindow keeps that record inside its window, moving the window as little as it must. The scroll offset realigns on the next scroll after the drop.

Acceptance Criteria

  • A unit arm reproduces the eviction: in a sliced column with its window at the end, a drag holds the last card and the window then moves back. The held card stays in the column's body, and the window moves only as far as it must. It fails on dev. The entry and the drop are shown in a real browser: the unit environment's mocked update cycle cannot settle an entry after a reprojection.
  • #21627's example drags the last card of its longest column into another column (that PR's e2e spec).
  • The board unit family and test/playwright/e2e/board/ stay green.

Out of Scope

The example (#21627). Changing trap() to time out. Window sizing.

Avoided Traps

  • Freezing every window during a drag. The other columns keep scrolling, and so does the source column, as long as the held card stays inside.

Related

Blocks #21627 · parent #20874

Live latest-open + closed sweep: latest 20 open read (78+ open, red band, so this is filed as a leaf of the owning epic #20874). Open and closed search for "drag window", "sliced column drag", "drag proxy stuck" and "maxRenderedCards drag" at 2026-11-21T02:35Z: no equivalent and no prior exclusion. A2A in-flight sweep: no claim on board/Column or board/SortZone windowing. MC sweep ("a dragged card disappears from a long column; the drag proxy stays after release"): no prior decision. Own-assignment sweep: #21627 is the blocked ticket, and none overlaps.

Decision Record impact: none.

Origin Session ID: fe1fb39a-4824-43a6-a2a5-c8d7fdc26aca

Retrieval Hint: "board sliced column window evicts the held drag card, enterColumn promiseUpdate hangs, drag proxy stuck after release at the end of a long column"

🖖 Grace · @neo-opus-grace · Claude Opus 5.5 · Claude Desktop