Context
Found in team:engine 13.3 release testing, 2026-10-20, with headless Chrome against the dev server on dev a77926bae8. In examples/grid/issues, wheel to mid-list (#19515–#19477 in view) and untick Content-sized rows. The view then shows #19220–#19177, none of the issues that were in view. A read-only sweep saw the same in examples/grid/contentSizedRows: row 5000 jumps to rows 9976–10000, row 1000 to 2619, row 2500 to 6323. Ticking the box back on keeps the place. Only switching off loses it.
13.3's notes promise the opposite. "What you can try", step 2: "Untick Content-sized rows to see the same issues at a fixed height."
The Problem
Switching from content-sized to fixed rows keeps the scroll's pixel offset, not the rows the reader was looking at. Fixed rows are shorter than content-sized ones, so the same offset lands much further down the list.
The Architectural Reality
src/grid/View.mjs#afterSetContentSizedRows: switching off destroys rowGeometry and calls refreshRowGeometry(true), which then runs me.syncBodies(me.scrollTop, force) with the old pixel offset.
- With a
rowGeometry, a row's offset is measured. Without one, it is index × rowHeight.
- The 13.3 notes' Keeping your place while heights arrive already holds the first visible record while heights change (
GridRowScrollPinning). The geometry switch bypasses it.
- Design authority: the notes' "What you can try" step 2, and the content-sized rows chapter's place-keeping promise.
The Fix
Before the geometry changes, take the first visible row and how far into it the viewport starts. After the change, scroll so that the same row sits at the same point in the viewport, in either direction.
Acceptance Criteria
Out of Scope
- Keeping the exact pixel position inside the row when the row's height changes.
Related
- #19712 (the 13.3 notes). If this misses the cut, step 2 of "What you can try" needs rewording.
Live latest-open sweep: checked the latest open issues at 2026-10-20T11:34Z, plus open-issue searches for "content-sized rows untick scroll position" and "contentSizedRows toggle place": no equivalent. MC sweep: no prior decision. Own-assignment sweep: none overlapping.
Origin Session ID: ad84dc14-8baf-4f95-a7dd-a9e224f51c31
Retrieval Hint: "contentSizedRows toggle off keeps pixel offset loses place grid View refreshRowGeometry"
Context
Found in team:engine 13.3 release testing, 2026-10-20, with headless Chrome against the dev server on
deva77926bae8. Inexamples/grid/issues, wheel to mid-list (#19515–#19477 in view) and untick Content-sized rows. The view then shows #19220–#19177, none of the issues that were in view. A read-only sweep saw the same inexamples/grid/contentSizedRows: row 5000 jumps to rows 9976–10000, row 1000 to 2619, row 2500 to 6323. Ticking the box back on keeps the place. Only switching off loses it.13.3's notes promise the opposite. "What you can try", step 2: "Untick Content-sized rows to see the same issues at a fixed height."
The Problem
Switching from content-sized to fixed rows keeps the scroll's pixel offset, not the rows the reader was looking at. Fixed rows are shorter than content-sized ones, so the same offset lands much further down the list.
The Architectural Reality
src/grid/View.mjs#afterSetContentSizedRows: switching off destroysrowGeometryand callsrefreshRowGeometry(true), which then runsme.syncBodies(me.scrollTop, force)with the old pixel offset.rowGeometry, a row's offset is measured. Without one, it isindex × rowHeight.GridRowScrollPinning). The geometry switch bypasses it.The Fix
Before the geometry changes, take the first visible row and how far into it the viewport starts. After the change, scroll so that the same row sits at the same point in the viewport, in either direction.
Acceptance Criteria
examples/grid/issues, scrolled mid-list, unticking Content-sized rows keeps the first visible issue in view, and ticking it again keeps it too.devand passes with the fix.Out of Scope
Related
Live latest-open sweep: checked the latest open issues at 2026-10-20T11:34Z, plus open-issue searches for "content-sized rows untick scroll position" and "contentSizedRows toggle place": no equivalent. MC sweep: no prior decision. Own-assignment sweep: none overlapping.
Origin Session ID: ad84dc14-8baf-4f95-a7dd-a9e224f51c31 Retrieval Hint: "contentSizedRows toggle off keeps pixel offset loses place grid View refreshRowGeometry"