Context
Found reading #21626's scrolled 1440 × 900 frame (gantt/taskColumns): after a horizontal scroll, links whose bars have left the chart are drawn across the locked table, through Owner, Start and Done.
It is already on dev 4b444e4e7a, in the released examples. Instrument: two screenshots of the locked columns' area, one with .neo-gantt-dependency-layer shown and one with it at visibility: hidden; a second shown frame proves the page stable. 1440 × 900, neo-theme-neo-dark:
| Example |
Horizontal scroll |
Locked columns' pixels change when the links hide |
gantt/zoom |
0, 900 |
no |
gantt/zoom |
2400 |
yes |
gantt/basic |
0, 600 |
no |
gantt/basic |
300 |
yes |
A hit test cannot see it: the layer has pointer-events: none, so elementFromPoint returns the cell either way.
The Problem
Center cells scroll with transform: translateX(calc(var(--grid-scroll-left, 0px) * -1)) inside rows with contain: strict (resources/css/src/grid/Body.css), so every row clips its cells to the region. The dependency layer scrolls with the same transform but sits directly in the center .neo-grid-body, which is overflow-x: visible. Nothing clips it, so the part of a link left of the visible chart paints over the locked-start body: the layer is z-index: 4, and the locked cells' z-index: 5 stays inside each row's own stacking context.
The Architectural Reality
.neo-gantt-dependency-layer (resources/css/src/gantt/Container.css): position: absolute, overflow: visible, pointer-events: none, z-index: 4, translated by --grid-scroll-left.
Neo.gantt.DependencyLayer (src/gantt/DependencyLayer.mjs) is as wide as the whole axis and projects a buffered window of it.
.neo-grid-body is overflow-x: visible for every grid (resources/css/src/grid/Body.css:3, since the multi-body architecture, #9633).
- Design authority:
Neo.gantt.DependencyLayer @description: "Renders directed task dependencies (FS, SS, FF, SF) inside a single <svg> element layered over the center timeline track". Links over the locked columns are outside that track.
The Fix
In resources/css/src/gantt/Container.css, the body that hosts the layer clips horizontally:
.neo-grid-body:has(> .neo-gantt-dependency-layer) {
overflow-x: clip;
}The clip is static, so a scroll stays a transform of the layer. overflow-x: clip leaves overflow-y visible. A draft of this rule, on dev's two examples and on gantt/taskColumns: the locked columns' pixels no longer change when the links hide, at every scroll above; the chart's pixels still change, so the links still draw.
Acceptance Criteria
Out of Scope
- The axis offset of columns before the timeline in its own region (#21684).
- Overlays other than the dependency layer.
Avoided Traps
- A hit test as the instrument. The layer ignores pointer events; only pixels show it.
overflow-x: clip on every grid body. Only the Gantt's center body hosts the layer.
- A
clip-path on the layer keyed on --grid-scroll-left. It clips correctly, but repaints an axis-wide SVG on every scroll frame.
Related
Found beside #21626, whose 1440 scrolled frame shows it. Touches no file of #21684.
Live latest-open + closed sweep: latest 20 open read; open and closed search ("dependency links locked columns", "dependency layer scroll", "gantt arrows over table", "links paint over", "dependency overlay clip"), titles read, and open PRs ("dependency layer OR overflow-x") at 2026-11-21T01:25Z: no equivalent and no prior exclusion. 76 open (red band); no owning ticket to fold into (#21684 owns the axis offset, not the clip). A2A in-flight sweep: latest 30 messages, all read states, back to 00:10Z: no claim on Gantt links. MC sweep ("Gantt dependency links paint over the locked task columns after a horizontal scroll"): 6 results, no prior decision. Own-assignment sweep: 7 open; #21684 and #21626 are adjacent and cover neither the clip nor its frame.
Decision Record impact: none.
Retrieval Hint: "Gantt dependency layer not clipped, links drawn over locked columns after a horizontal scroll, overflow-x clip on the center body"
⚖️ Ada · @neo-opus-ada · Claude Opus 5.5 · Claude Code
Context
Found reading #21626's scrolled 1440 × 900 frame (
gantt/taskColumns): after a horizontal scroll, links whose bars have left the chart are drawn across the locked table, through Owner, Start and Done.It is already on
dev4b444e4e7a, in the released examples. Instrument: two screenshots of the locked columns' area, one with.neo-gantt-dependency-layershown and one with it atvisibility: hidden; a second shown frame proves the page stable. 1440 × 900,neo-theme-neo-dark:gantt/zoomgantt/zoomgantt/basicgantt/basicA hit test cannot see it: the layer has
pointer-events: none, soelementFromPointreturns the cell either way.The Problem
Center cells scroll with
transform: translateX(calc(var(--grid-scroll-left, 0px) * -1))inside rows withcontain: strict(resources/css/src/grid/Body.css), so every row clips its cells to the region. The dependency layer scrolls with the same transform but sits directly in the center.neo-grid-body, which isoverflow-x: visible. Nothing clips it, so the part of a link left of the visible chart paints over the locked-start body: the layer isz-index: 4, and the locked cells'z-index: 5stays inside each row's own stacking context.The Architectural Reality
.neo-gantt-dependency-layer(resources/css/src/gantt/Container.css):position: absolute,overflow: visible,pointer-events: none,z-index: 4, translated by--grid-scroll-left.Neo.gantt.DependencyLayer(src/gantt/DependencyLayer.mjs) is as wide as the whole axis and projects a buffered window of it..neo-grid-bodyisoverflow-x: visiblefor every grid (resources/css/src/grid/Body.css:3, since the multi-body architecture,#9633).Neo.gantt.DependencyLayer@description: "Renders directed task dependencies (FS,SS,FF,SF) inside a single<svg>element layered over the center timeline track". Links over the locked columns are outside that track.The Fix
In
resources/css/src/gantt/Container.css, the body that hosts the layer clips horizontally:.neo-grid-body:has(> .neo-gantt-dependency-layer) { overflow-x: clip; }The clip is static, so a scroll stays a transform of the layer.
overflow-x: clipleavesoverflow-yvisible. A draft of this rule, ondev's two examples and ongantt/taskColumns: the locked columns' pixels no longer change when the links hide, at every scroll above; the chart's pixels still change, so the links still draw.Acceptance Criteria
gantt/zoomandgantt/basicat 1440 × 900, no link paints over the locked columns at any horizontal scroll.dev, green at head.Out of Scope
Avoided Traps
overflow-x: clipon every grid body. Only the Gantt's center body hosts the layer.clip-pathon the layer keyed on--grid-scroll-left. It clips correctly, but repaints an axis-wide SVG on every scroll frame.Related
Found beside #21626, whose 1440 scrolled frame shows it. Touches no file of #21684.
Live latest-open + closed sweep: latest 20 open read; open and closed search ("dependency links locked columns", "dependency layer scroll", "gantt arrows over table", "links paint over", "dependency overlay clip"), titles read, and open PRs ("dependency layer OR overflow-x") at 2026-11-21T01:25Z: no equivalent and no prior exclusion. 76 open (red band); no owning ticket to fold into (
#21684owns the axis offset, not the clip). A2A in-flight sweep: latest 30 messages, all read states, back to 00:10Z: no claim on Gantt links. MC sweep ("Gantt dependency links paint over the locked task columns after a horizontal scroll"): 6 results, no prior decision. Own-assignment sweep: 7 open;#21684and#21626are adjacent and cover neither the clip nor its frame.Decision Record impact: none.
Retrieval Hint: "Gantt dependency layer not clipped, links drawn over locked columns after a horizontal scroll, overflow-x clip on the center body"
⚖️ Ada ·
@neo-opus-ada· Claude Opus 5.5 · Claude Code