Context
Found during team:engine release testing for 13.3. In examples/grid/animatedRowSorting, every change to the Transition Duration field throws:
TypeError: Cannot set properties of null (setting 'transitionDuration')
Typing 1000 throws five times, and the duration stays 500ms in both bodies. Observed 2026-10-20 ~10:22Z in headless branded Chrome against the dev server serving origin/dev 4844087a77. In the same run, header sorts and the Firstname filter work and the locked Id rows stay with their center rows.
13.3's notes feature this example ("Animated row sorting works again"), so its own control throwing ships with the cut unless it is fixed first.
The Problem
Viewport#onTransitionDurationFieldChange (examples/grid/animatedRowSorting/Viewport.mjs:84) reads grid.view.getPlugin('grid-animate-rows'). That stopped working on 2026-04-02, when #9627 made grid.view a Neo.grid.View. A View owns no plugins. AnimateRows belongs to each Neo.grid.Body: Body#afterSetAnimatedRowSorting adds it (src/grid/Body.mjs:391). So getPlugin() returns null.
This has been broken since #9627, and 13.2.0 ships the same handler. 13.3 adds a second body to repair: since #19777, the example locks its Id column, and the locked body is a clone of the center body with its own plugin. A fix that reaches only the center body would move the locked rows at the old duration, out of step with their center rows.
The Architectural Reality
Neo.grid.View#bodies (src/grid/View.mjs:218): "The active bodies in visual order (bodyStart, body, bodyEnd)".
AnimateRows#afterSetTransitionDuration (src/grid/plugin/AnimateRows.mjs) sets --neo-duration on its owner body. resources/scss/src/grid/plugin/AnimateRows.scss drives the rows' transform, opacity and background-color transitions from that variable.
- Design authority: the field was added for this purpose in
73a4190925 (#6562, "add a transition duration numberfield"). A field labelled Transition Duration that throws and changes nothing contradicts its own handler.
The Fix
onTransitionDurationFieldChange sets the duration on the plugin of every body in grid.view.bodies. test/playwright/e2e/grid/AnimatedRowSorting.spec.mjs gains a case for the field.
Acceptance Criteria
Out of Scope
- A grid-level API for the animation duration. The example is its only runtime consumer, and a grid's
body.pluginAnimateRowsConfig already sets it at construction.
Related
Live latest-open sweep: checked the latest 20 open issues at 2026-10-20T10:25Z, no equivalent found. A gh search issues for "transition duration animatedRowSorting" found nothing either.
MC sweep: "animated row sorting example Transition Duration field TypeError … getPlugin grid-animate-rows grid.view", 6 results, no prior decision. The nearest is the 2026-10-16 #19777 record, which locked the Id column and does not cover the field.
Own-assignment sweep: 8 open, none overlapping.
Origin Session ID: ad84dc14-8baf-4f95-a7dd-a9e224f51c31
Retrieval Hint: "animatedRowSorting Transition Duration getPlugin null grid.view bodies"
Context
Found during team:engine release testing for 13.3. In
examples/grid/animatedRowSorting, every change to the Transition Duration field throws:Typing
1000throws five times, and the duration stays500msin both bodies. Observed 2026-10-20 ~10:22Z in headless branded Chrome against the dev server servingorigin/dev4844087a77. In the same run, header sorts and the Firstname filter work and the locked Id rows stay with their center rows.13.3's notes feature this example ("Animated row sorting works again"), so its own control throwing ships with the cut unless it is fixed first.
The Problem
Viewport#onTransitionDurationFieldChange(examples/grid/animatedRowSorting/Viewport.mjs:84) readsgrid.view.getPlugin('grid-animate-rows'). That stopped working on 2026-04-02, when #9627 madegrid.viewaNeo.grid.View. A View owns no plugins. AnimateRows belongs to eachNeo.grid.Body:Body#afterSetAnimatedRowSortingadds it (src/grid/Body.mjs:391). SogetPlugin()returnsnull.This has been broken since #9627, and 13.2.0 ships the same handler. 13.3 adds a second body to repair: since #19777, the example locks its Id column, and the locked body is a clone of the center body with its own plugin. A fix that reaches only the center body would move the locked rows at the old duration, out of step with their center rows.
The Architectural Reality
Neo.grid.View#bodies(src/grid/View.mjs:218): "The active bodies in visual order (bodyStart,body,bodyEnd)".AnimateRows#afterSetTransitionDuration(src/grid/plugin/AnimateRows.mjs) sets--neo-durationon its owner body.resources/scss/src/grid/plugin/AnimateRows.scssdrives the rows'transform,opacityandbackground-colortransitions from that variable.73a4190925(#6562, "add a transition duration numberfield"). A field labelled Transition Duration that throws and changes nothing contradicts its own handler.The Fix
onTransitionDurationFieldChangesets the duration on the plugin of every body ingrid.view.bodies.test/playwright/e2e/grid/AnimatedRowSorting.spec.mjsgains a case for the field.Acceptance Criteria
--neo-durationreads the field's value.500ms) and green at head, and the spec's four existing cases stay green.Out of Scope
body.pluginAnimateRowsConfigalready sets it at construction.Related
grid.View), #19712 (13.3 notes).Live latest-open sweep: checked the latest 20 open issues at 2026-10-20T10:25Z, no equivalent found. A
gh search issuesfor "transition duration animatedRowSorting" found nothing either. MC sweep: "animated row sorting example Transition Duration field TypeError … getPlugin grid-animate-rows grid.view", 6 results, no prior decision. The nearest is the 2026-10-16 #19777 record, which locked the Id column and does not cover the field. Own-assignment sweep: 8 open, none overlapping.Origin Session ID: ad84dc14-8baf-4f95-a7dd-a9e224f51c31 Retrieval Hint: "animatedRowSorting Transition Duration getPlugin null grid.view bodies"