Repository navigation
fix(List): a highlighted row's dividers stay visible through its tint - #10280
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
PR Analysis Report🔎 Preview ·
|
| Component | Size | LoC | Visual · A11y · RTL |
|---|---|---|---|
| Markdown | 162.3 kB (+173 B) · 19.7 kB CSS (+206 B) | — | — · — · — |
| TableCell | 91.9 kB (+175 B) · 17.2 kB CSS (+203 B) | — | — · — · — |
| Tokenizer | 85.0 kB (+177 B) · 18.3 kB CSS (+192 B) | — | — · — · — |
83 more components
| Component | Size | LoC | Visual · A11y · RTL |
|---|---|---|---|
| AppShell | 81.6 kB (+174 B) · 13.0 kB CSS (+194 B) | — | — · — · — |
| RadioListItem | 62.9 kB (+156 B) · 10.0 kB CSS (+212 B) | — | — · — · — |
| MoreMenu | 86.5 kB (+163 B) · 16.9 kB CSS (+203 B) | — | — · — · — |
| ListItem | 65.1 kB (+163 B) · 11.1 kB CSS (+198 B) | — | ✓ · ✓ · ✓ |
| Toast | 89.5 kB (+164 B) · 9.8 kB CSS (+194 B) | — | — · — · — |
| CheckboxListItem | 66.1 kB (+158 B) · 11.1 kB CSS (+198 B) | — | — · — · — |
| TimeInput | 149.9 kB (+149 B) · 15.7 kB CSS (+207 B) | — | — · — · — |
| ContextMenu | 90.7 kB (+157 B) · 16.8 kB CSS (+197 B) | — | — · — · — |
| DropdownMenuItem | 20.7 kB (+153 B) · 6.2 kB CSS (+201 B) | — | — · — · — |
| ComplexSelector | 66.0 kB (+173 B) · 11.5 kB CSS (+177 B) | — | — · — · — |
| DropdownMenuRadioItem | 21.5 kB (+152 B) · 6.6 kB CSS (+195 B) | — | — · — · — |
| Item | 16.3 kB (+154 B) · 5.5 kB CSS (+193 B) | — | — · — · — |
| SelectorOption | 19.6 kB (+147 B) · 6.0 kB CSS (+200 B) | — | — · — · — |
| DropdownMenuCheckboxItem | 21.4 kB (+151 B) · 6.6 kB CSS (+195 B) | — | — · — · — |
| ContextMenuItem | 27.0 kB (+150 B) · 6.3 kB CSS (+195 B) | — | — · — · — |
| DropdownMenuSubMenu | 64.8 kB (+149 B) · 9.6 kB CSS (+193 B) | — | — · — · — |
| MobileNav | 61.8 kB (+157 B) · 10.1 kB CSS (+185 B) | — | — · — · — |
| TableHeaderCell | 91.5 kB (+142 B) · 17.0 kB CSS (+199 B) | — | — · — · — |
| ChatLayoutScrollButton | 52.4 kB (+148 B) · 9.7 kB CSS (+192 B) | — | — · — · — |
| Table | 100.1 kB (+137 B) · 17.5 kB CSS (+203 B) | — | — · — · — |
| Selector | 93.3 kB (+131 B) · 17.1 kB CSS (+208 B) | — | — · — · — |
| Stepper | 53.6 kB (+152 B) · 9.6 kB CSS (+187 B) | — | — · — · — |
| PowerSearch | 271.3 kB (+152 B) · 23.3 kB CSS (+186 B) | — | — · — · — |
| TopNavMegaMenu | 61.2 kB (+157 B) · 11.3 kB CSS (+181 B) | — | — · — · — |
| TreeList | 41.3 kB (+132 B) · 5.6 kB CSS (+205 B) | — | — · — · — |
| ChatComposer | 68.5 kB (+154 B) · 11.3 kB CSS (+182 B) | — | — · — · — |
| Lightbox | 103.1 kB (+150 B) · 10.0 kB CSS (+186 B) | — | — · — · — |
| TabMenu | 63.3 kB (+145 B) · 10.6 kB CSS (+191 B) | — | — · — · — |
| Thumbnail | 56.2 kB (+147 B) · 11.1 kB CSS (+189 B) | — | — · — · — |
| NumberInput | 67.0 kB (+151 B) · 11.2 kB CSS (+184 B) | — | — · — · — |
| Popover | 78.6 kB (+149 B) · 13.6 kB CSS (+186 B) | — | — · — · — |
| SideNavHeading | 67.0 kB (+152 B) · 10.8 kB CSS (+183 B) | — | — · — · — |
| FileInput | 64.4 kB (+154 B) · 10.8 kB CSS (+180 B) | — | — · — · — |
| ChatLayout | 55.2 kB (+150 B) · 10.0 kB CSS (+183 B) | — | — · — · — |
| CodeBlock | 66.5 kB (+148 B) · 10.8 kB CSS (+183 B) | — | — · — · — |
| DateInput | 173.1 kB (+150 B) · 16.6 kB CSS (+181 B) | — | — · — · — |
| SideNavCollapseButton | 52.7 kB (+145 B) · 9.5 kB CSS (+186 B) | — | — · — · — |
| ChatComposerTokenElement | 66.5 kB (+143 B) · 10.8 kB CSS (+187 B) | — | — · — · — |
| DropdownMenu | 86.2 kB (+127 B) · 16.9 kB CSS (+203 B) | — | — · — · — |
| ToggleButton | 52.7 kB (+144 B) · 9.6 kB CSS (+186 B) | — | — · — · — |
| TopNavHeading | 66.4 kB (+140 B) · 10.6 kB CSS (+190 B) | — | — · — · — |
| ChatComposerInput | 66.5 kB (+142 B) · 10.8 kB CSS (+187 B) | — | — · — · — |
| DrawerHeader | 54.9 kB (+144 B) · 12.4 kB CSS (+185 B) | — | — · — · — |
| BreadcrumbItem | 76.1 kB (+141 B) · 11.7 kB CSS (+187 B) | — | — · — · — |
| BaseTypeahead | 62.2 kB (+139 B) · 10.4 kB CSS (+188 B) | — | — · — · — |
| MobileNavToggle | 52.2 kB (+142 B) · 9.5 kB CSS (+185 B) | — | — · — · — |
| TextInput | 63.0 kB (+150 B) · 11.0 kB CSS (+177 B) | — | — · — · — |
| TopNavMenu | 66.1 kB (+139 B) · 10.7 kB CSS (+188 B) | — | — · — · — |
| Typeahead | 74.6 kB (+145 B) · 12.3 kB CSS (+181 B) | — | — · — · — |
| Button | 51.8 kB (+138 B) · 9.5 kB CSS (+185 B) | — | — · — · — |
| ChatDictationButton | 52.4 kB (+137 B) · 9.5 kB CSS (+186 B) | — | — · — · — |
| DialogHeader | 54.7 kB (+138 B) · 11.0 kB CSS (+185 B) | — | — · — · — |
| Carousel | 59.8 kB (+138 B) · 10.4 kB CSS (+184 B) | — | — · — · — |
| MultiSelector | 88.9 kB (+139 B) · 16.5 kB CSS (+183 B) | — | — · — · — |
| TableSelectionToolbar | 61.4 kB (+138 B) · 12.6 kB CSS (+184 B) | — | — · — · — |
| DateTimeInput | 195.5 kB (+135 B) · 18.3 kB CSS (+186 B) | — | — · — · — |
| ChatSendButton | 52.3 kB (+133 B) · 9.5 kB CSS (+187 B) | — | — · — · — |
| SideNavItem | 61.9 kB (+131 B) · 10.6 kB CSS (+189 B) | — | — · — · — |
| Banner | 53.8 kB (+136 B) · 10.0 kB CSS (+183 B) | — | — · — · — |
| TopNav | 63.4 kB (+135 B) · 10.4 kB CSS (+183 B) | — | — · — · — |
| Pagination | 103.5 kB (+130 B) · 17.5 kB CSS (+186 B) | — | — · — · — |
| AlertDialog | 95.9 kB (+136 B) · 13.9 kB CSS (+179 B) | — | — · — · — |
| Calendar | 62.8 kB (+137 B) · 10.1 kB CSS (+178 B) | — | — · — · — |
| IconButton | 51.9 kB (+130 B) · 9.5 kB CSS (+185 B) | — | — · — · — |
| SideNav | 81.4 kB (+132 B) · 10.9 kB CSS (+182 B) | — | — · — · — |
| DateRangeInput | 86.0 kB (+139 B) · 12.3 kB CSS (+174 B) | — | — · — · — |
| Timestamp | 23.2 kB (+13 B) · 9.8 kB CSS (+189 B) | — | — · — · — |
| lab/Schedule | 99.5 kB (+192 B) · 3.9 kB CSS (0) | — | — · — · — |
| lab/CommentThread | 301.6 kB (+182 B) · 2.4 kB CSS (0) | — | — · — · — |
| lab/Comments | 306.7 kB (+175 B) · 2.5 kB CSS (0) | — | — · — · — |
| lab/EmojiPicker | 81.5 kB (+168 B) · 751 B CSS (0) | — | — · — · — |
| richtext/RichTextView | 271.3 kB (+164 B) · 2.3 kB CSS (0) | — | — · — · — |
| lab/TourStep | 84.8 kB (+151 B) · 590 B CSS (0) | — | — · — · — |
| richtext/RichTextEditor | 291.0 kB (+146 B) · 2.6 kB CSS (0) | — | — · — · — |
| lab/DiffViewer | 78.2 kB (+142 B) · 2.1 kB CSS (0) | — | — · — · — |
| lab/TransferListSelector | 97.2 kB (+141 B) · 1.9 kB CSS (0) | — | — · — · — |
| lab/ChatReactionBar | 97.8 kB (+140 B) · 1.1 kB CSS (0) | — | — · — · — |
| lab/ListInput | 95.6 kB (+136 B) · 1.6 kB CSS (0) | — | — · — · — |
| lab/ChatEmojiPicker | 96.6 kB (+134 B) · 773 B CSS (0) | — | — · — · — |
| richtext/RichTextEditorToolbar | 244.3 kB (+134 B) · 454 B CSS (0) | — | — · — · — |
| lab/TransferList | 90.3 kB (+126 B) · 1.7 kB CSS (0) | — | — · — · — |
| lab/CommentComposer | 137.7 kB (+121 B) · 1.9 kB CSS (0) | — | — · — · — |
| List | 5.4 kB (0) · 469 B CSS (0) | — | ✓ · ✓ · — |
Package size: @astryxdesign/core 6.79 MB packed (+935 B); no new dependencies.
API changes: none in this pull request
Committed API report behind this build: cli 19 rows, core 24 rows; run pnpm api:report.
Touched components checked; add ci:run-visual, ci:run-a11y or ci:run-rtl to run the full suites.
Generated by PR Enrichment workflow | View full report
f947998 to
d412809
Compare
|
/approve-spec d412809 |
There was a problem hiding this comment.
Not ready to approve yet: with a mouse, a hovered or pressed row in a List with dividers now paints its tint over the divider above it, with a new box-shadow fade (press.stylex.ts overDividers, Item.tsx line 457), and this desktop behavior change needs an owner decision. Please cite that decision in the description, with where and when it was given, or gate the mouse part to touch input.
Whatever that decision is, these two need fixing:
- PR2 in the List record still says FR11 adds no animation under a fine pointer and that every motion runs on transform and opacity, but this change adds a
box-shadowfade for a mouse hover, so amend PR2 (with the Compatibility/readiness and Ownership lines) along with FR11, or drop thebox-shadowtransition. - The new "FR11 dividers" verification row fills only three of the map's five columns, so add its failure expectation and its audit section (for example
audit:List/visual).
A new commit needs a fresh /approve-spec <full head SHA> from an engineering owner, and the author may record it as one.
[Automated review]
| transitionProperty: 'background-color', | ||
| // A List row with dividers carries its tint over the divider above as a | ||
| // shadow (rowPressLayerStyles.overDividers), on the tint's own clock. | ||
| transitionProperty: 'background-color, box-shadow', |
There was a problem hiding this comment.
This adds a box-shadow fade under a fine pointer for FR11's divider tint. The List record's PR2, which this pull request leaves unchanged, still says FR11 adds no animation under a fine pointer and that every motion runs on transform and opacity. Its Ownership line and Contract at a glance also still call FR11 touch-only. Please amend those lines along with FR11, or drop the transition.
| | FR2–FR6, FR8–FR9, AR1–AR2 | Real-browser List geometry evidence | each treatment in a Card at two paddings, a Section, an inline Dialog with and without Layout, a BottomSheet, a padded ScrollableArea scrolling vertically and in both axes, a LayoutContent with explicit padding, and standalone; header and dividers; LTR/RTL; hovered and selected rows; a swiped row under `outset` and `bleed` | Header movement, content off the expected line, paint past the host's padding edge, clipped resting paint, or a changed row box fails | `audit:List/visual` | | ||
| | FR10 | List tests of the touch hit target and real-browser hit-testing | every density; a row with a description; compact rows packed closer than 44 px; a row with an end control; a coarse and a fine pointer; a theme row padding | A coarse-pointer row whose target stays at its box where its neighbors leave room, a target that reaches a neighboring row's or control's target, a changed row box, or a changed fine-pointer target fails | `audit:List/layout` | | ||
| | FR11 | Item press-layer tests and real-browser pixel evidence | press, hold, and release; a release while the main thread is blocked; a mouse; a pressed row between two divided rows | A release that stops while script runs, an element added for the press, a divider hidden during a press, or paint or stacking changed at rest fails | `audit:List/visual` | | ||
| | FR11 dividers | Real-browser pixel evidence of each divider against the tint | a hovered row; a row pressed by a mouse and by a finger, and its release; light and dark | |
There was a problem hiding this comment.
This row fills three of the map's five columns. Please add the failure expectation and the audit section, for example: "A divider whose contrast against the tint beside it drifts more than 0.05 from its rest contrast, a changed computed border, or an unpainted tint fails" | audit:List/visual.
| touchAction: 'pan-y pinch-zoom', | ||
| transform: `translate3d(${SWIPE_TRAVEL}, 0, 0)`, | ||
| transitionProperty: 'background-color, transform', | ||
| // The list cycles: box-shadow takes the hover transition's clock. |
There was a problem hiding this comment.
Non-blocking: "The list cycles" is vague. Suggest: // Duration and easing lists repeat, so box-shadow takes the hover timing.
FR11 now says a highlighted row (hovered, or pressed by any pointer) keeps both dividers visible in --color-border through its translucent tint, and that no divider hides or changes color for a highlight. A verification row covers a hovered row and a row pressed by a mouse and by a finger, in light and dark. The ownership and end-user lines name the dividers for every pointer.
In a List with dividers, a hovered or pressed row's tint met the divider above it at about 1.06:1 in light (1.00:1 for a dark press), so that divider merged into the tint. Under a finger the press layer stopped at the row's border, so both dividers merged. With a mouse, the row's own divider is its border, which already paints over its tint. Now the tint also covers the divider above it, as a box shadow, which appears at once while the row's own tint fades in. Under a finger, the press layer covers both dividers, so they fade with it on the release. The tint is translucent, so a divider under it reads as it does at rest: 1.19:1 in light, about 1.37:1 in dark. At rest nothing changes.
d412809 to
81447fc
Compare
|
/approve-spec 81447fc |
There was a problem hiding this comment.
Approved pending CI: CI has not run on this head yet. This is a draft from a fork, so CI runs once the pull request is marked ready for review and a maintainer adds the ci:run label.
An engineering owner approved the FR11 divider rule for this head, and the implementation matches it. The new browser tests fail on main and pass on this head. Both dividers keep their resting contrast through the tint in light and dark, with a mouse and under a finger.
Three optional cleanups are noted inline: the record's Compatibility/readiness line, where FR11's decision citation sits, and one code comment.
[Automated review]
| | End-user impact | Row text can share the line of the list header and a heading above, with row paint stopping at the text, reaching into the host padding, or reaching the host edges. Touch users get a 44 px row target (FR10) and the cell press (FR11); with `animatedLayout`, row updates animate for every pointer (FR12). A row with a menu opens it by a long press, a right click, or Shift+F10, or through its More actions button (FR13). | | ||
| | End-user impact | Row text can share the line of the list header and a heading above, with row paint stopping at the text, reaching into the host padding, or reaching the host edges. Touch users get a 44 px row target (FR10) and the cell press (FR11), and every pointer keeps a highlighted row's dividers visible (FR11); with `animatedLayout`, row updates animate for every pointer (FR12). A row with a menu opens it by a long press, a right click, or Shift+F10, or through its More actions button (FR13). | | ||
| | Builder impact | One `edge` choice per list. `flush` works anywhere; `outset` and `bleed` act only inside a host that publishes container padding. Passing an `animatedLayout` handle is one new choice, and a row menu is the other: the caller passes a ListItem's ref to `useContextMenu` (FR13), and who draws a plain row's More actions button is open (OQ2); and rows animate only with an `itemKey`; the touch target and press need none. | | ||
| | Compatibility/readiness | Additive; omission keeps current geometry; `edgeCompensation` keeps working with a codemod to `edge`. `reorderable` and `itemKey` are additive and stable, specified and not implemented yet; without them nothing changes. `animatedLayout` is additive and specified, not implemented yet. The touch target (FR10) and the press's compositor release (FR11) are implemented under coarse primary pointers. Neither changes anything under a fine pointer. Row menus (FR13) are additive and specified, not implemented yet. | |
There was a problem hiding this comment.
Non-blocking: this line still says FR11's compositor release "changes nothing under a fine pointer". FR11's divider rule now changes a hovered or mouse-pressed row, so consider adding that it is implemented for every pointer.
| | FR9 | The list element containing the rows MUST clip in the inline axis with `overflow-inline: clip`, never `hidden`, except for static Markdown document lists that expose no swipe actions (DEC-5). Those Markdown lists, ordered or unordered, MAY use visible inline overflow so their own or descendant number markers remain whole while retaining AST-061 FR11's text starts and nested insets. General Lists and any collection with swipe-capable rows MUST retain the clip. Under `outset` and `bleed` its inline edges MUST reach the host's padding edge, so the clip never cuts resting row paint and a swiped row paints no further than that edge. | `spec:AST-057/FR9`; `component:List/DEC-5`; `spec:AST-061/FR11` | Verified by `List.test.tsx` and real-browser geometry | | ||
| | FR10 | Under a coarse primary pointer (`spec:AST-094` FR13), every ListItem row MUST offer a hit target at least 44 px tall, through its padding or an invisible hit area, with no visual change, where its neighbors leave room: the hit area never overlaps a neighboring row's or control's target, and between close neighbors it is clamped to half the gap; row height and geometry stay as they are at every density. A fine pointer keeps today's hit target. | Owner decision, 2026-10-26: no row-height change, a 44 px touch target | Accepted contract | | ||
| | FR11 | Under a coarse primary pointer, an interactive row's press MUST follow the cell profile (`spec:AST-094` FR11): it paints the `--color-overlay-pressed` token above the row's background and below its content without adding an element, and its release fades on the theme's exit motion tokens (`--duration-exit`, `--ease-exit`) on the compositor (`spec:AST-094` FR5). The row's dividers stay drawn while it is pressed, in every theme. At rest the row's paint and stacking are as they were. Under the touch presentation, an interactive Item, ListItem or TreeList row uses its `::before` as the press layer, and a pressed row's divider keeps its resting colour. A caller's own `::before` on such a row merges into the press layer only while it is pressed; use `::after` or a child for decoration. An interactive ListItem row also uses its `::after` as its touch hit area (FR10), so decorate such a row with a child. | `spec:AST-094` FR5, FR11; `component:List/DEC-6` | Accepted contract | | ||
| | FR11 | Under a coarse primary pointer, an interactive row's press MUST follow the cell profile (`spec:AST-094` FR11): it paints the `--color-overlay-pressed` token above the row's background and below its content without adding an element, and its release fades on the theme's exit motion tokens (`--duration-exit`, `--ease-exit`) on the compositor (`spec:AST-094` FR5). A highlighted row (hovered, or pressed by any pointer) keeps both dividers visible in `--color-border` through its translucent tint; no divider hides or changes color for highlight (Owner decision, Nov 6 2026 (Cindy)). At rest the row's paint and stacking are as they were. Under the touch presentation, an interactive Item, ListItem or TreeList row uses its `::before` as the press layer, and a pressed row's divider keeps its resting colour. A caller's own `::before` on such a row merges into the press layer only while it is pressed; use `::after` or a child for decoration. An interactive ListItem row also uses its `::after` as its touch hit area (FR10), so decorate such a row with a child. | `spec:AST-094` FR5, FR11; `component:List/DEC-6` | Accepted contract | |
There was a problem hiding this comment.
Non-blocking: "(Owner decision, Nov 6 2026 (Cindy))" sits inside the invariant text. FR10 and FR13 keep that kind of citation in the Basis column with an ISO date ("Owner decision, 2026-10-26"), so consider moving it there.
| ':hover': tintAbove(colorVars['--color-overlay-hover']), | ||
| ':active': tintAbove(colorVars['--color-overlay-pressed']), | ||
| }, | ||
| // The press layer paints while the controller paints. |
There was a problem hiding this comment.
Non-blocking: "while the controller paints" is vague, because the controller writes the press state and does not paint. Suggest: // While a press is on or fading, the press layer covers the divider above.
|
/approve-spec 99b56d6 |
There was a problem hiding this comment.
Changes requested. The divider rule is approved for this head, and it works with a mouse and with a finger on a phone or tablet; one case still misses it.
- Miss: on a touchscreen whose primary pointer is fine, such as a touchscreen laptop, a finger or pen press still loses the divider above the row (1.06:1 in light, 1.00:1 in dark, as on main), because
overDividersturns the strip off for every press state at every pointer (press.stylex.ts:234-235) while the press layer that replaces it exists only under a coarse pointer, so FR11's "pressed by any pointer" and the changeset's "under a finger" do not hold there.
Gating those two arms to a coarse pointer, keeping the strip in the row's own press paint elsewhere, and adding a fine-pointer finger case to the new browser spec would close it; the inline comment has a suggestion. CI has not run on this head yet: it waits for a maintainer's ci:run label.
[Automated review]
| [PRESSED_ON]: 'none', | ||
| [PRESSED_FADING]: 'none', |
There was a problem hiding this comment.
On a touchscreen whose primary pointer is fine (a touchscreen laptop), a finger or pen press still sets data-astryx-press, because the press controller tracks every pointer except the mouse. These two arms then remove the strip, but the ::before layer that should replace it exists only under @media (pointer: coarse). The divider above reads 1.06:1 in light and 1.00:1 in dark, as on main, and the arms also win over :active.
Suggested shape, keeping the strip in the row's own press paint, which follows the release's strength:
[PRESSED_ON]: {default: tintAbove('var(--_press-paint)'), [COARSE]: 'none'},
[PRESSED_FADING]: {default: tintAbove('var(--_press-paint)'), [COARSE]: 'none'},The new finger test in ListDividers.interaction.browser.spec.ts skips unless (pointer: coarse) matches, so a finger case on a fine-pointer page (a context without touch emulation, driven by a CDP touch) would cover this.
On a touch screen whose primary pointer is fine, such as a laptop's, a finger or pen press is a press the controller paints, but it has no press layer. The strip over the divider above turned off for every press, so that divider read 1.06:1 again (1.00:1 in dark). Under a coarse pointer the press layer still covers it. Elsewhere the strip now takes the row's own press paint, which follows the release.
|
/approve-spec 4796540 |
There was a problem hiding this comment.
Approved pending CI: CI has not run on this head yet. The branch is in a fork, so the required checks wait for a maintainer to add the ci:run label.
A hovered or pressed row in a List with dividers now keeps both dividers visible with a mouse, under a finger on a phone or tablet, and under a finger or pen on a touchscreen laptop. The case that held the last review is fixed and covered by the new fine-pointer finger test, and the FR11 change is approved for this head.
Optional, not blocking: the new comment above the press arms in press.stylex.ts could be tightened (suggestion inline), and the two open notes on List.spec.md still apply.
[Automated review]
| ':hover': tintAbove(colorVars['--color-overlay-hover']), | ||
| ':active': tintAbove(colorVars['--color-overlay-pressed']), | ||
| }, | ||
| // A press the controller paints. Under a coarse pointer, the press |
There was a problem hiding this comment.
Non-blocking: "A press the controller paints." is a fragment, and the controller writes the press state while the row paints. Suggest:
// While a press is on or fading, a coarse pointer's press layer covers the
// divider above. Elsewhere the strip takes the row's press paint, which
// follows the release.…tedLayout handle (#8106) * feat(List): animate row inserts, removals and moves with animatedLayout A List that takes the handle useAnimatedLayout returns animates its row changes on one shared motion, for every pointer. An inserted row enters, a removed row collapses in place, and a row that crosses rows moving the other way rides above them. The rows after a change, and the content after the list, glide to their new places. Rows match across renders by their itemKey; a row without one changes at once. The row marks the update module writes (item key, leaving, travelling) live in their own private-attribute owner modules. A list under the handle isolates for every pointer, so a sliding row stays below a page-level sticky header. The List and ListItem records now say the row updates and itemKey are implemented, and their verified_by lists the files that verify them. * Merge main into the branch (#10236 landed) * fix(core): the layout glide takes --duration-medium Owner decision, Nov 6 2026 (Cindy): the layout glide takes --duration-medium. The shared glide played over --duration-medium-min; it now plays over --duration-medium: 300 ms in the Neutral theme and 410 ms with no theme, instead of 225 ms and 310 ms, both scaled by tempo. Collapsible, TreeList, Table's row expansion, AppShell's content area and List share it. AST-105 FR4 names the token, and its DEC-3 records the decision. * Merge uikit/f1-glide-medium into uikit/c11-list-updates * fix(List): a change reads every near row before it settles any Settling a swiped row read the next row's transform after writing the row before it, and read every row's place after all the writes. One pass now reads each near row's translation and place, and then the settles are written. A settled row's place is its box less its own translation. * Merge main into the List updates branch (#10261 landed) * Merge branch 'main' into uikit/c13-list-reorder * docs(AST-105): DEC-3 names List among the glide's adopters This pull request makes List adopt the shared layout glide, so DEC-3 names it with Collapsible, TreeList, Table's row expansion and AppShell's content area. The merge of main took main's side of DEC-3, which lists only the components already on main. * fix(List): measuring a change only reads A row a swipe translated keeps its translation across the commit, so a change with a row swiped open lays the page out as often as one with none. A row that leaves settles after the commit, before any place is read again, so its exit still runs on its own box, in view, at no layout of its own. The glide its old, translated place gives it lands at once. * fix(List): a leaving swiped row keeps its move in the list The module reads a swiped row's old place with its translation on it, so its glide adds that translation to the row's move in the list. A row that leaves now keeps only the vertical part of that glide, so a row removed by an update that also moves it glides with its neighbours instead of jumping. The swipe-away probe and its comment say what they check. * fix(List): a leaving row keeps its place and its glide's record A second change while a swiped row exits restarted it sideways, because the List rewrote the glide's frames while the module's record of the glide kept the swipe's offset. The module's landLayoutGlideSideways now changes both together. A reorder while a row exits carried that row to the top of the list, because React moves only its own rows. Each leaving row now stays before the row that came after it, or last. * fix(List): a leaving row keeps its old index among the staying rows A removed row still exiting travelled with the row that came after it as it left, when that row moved. Each row that leaves, and each row still leaving, now goes after as many staying rows as came before it, so it stays where it showed whichever rows move around it. One pass over the rows replaces the put-back anchor and the later correction. * Merge main into the List updates branch (#10280 landed) List.spec.md's verified_by keeps main's ListDividers spec beside this branch's two List update tests. * fix(List): a crossing row is marked after the module reads the layout markCrossings set the travelling mark between the list's row reads and the module's batched read, so a reorder with a crossing row restyled and laid out the page again in its commit. It now sets the marks in the microtask it already queues, after the module's read and before the frame paints, and marks only a row that has a glide. A mark's end clears only its own mark, so a second reorder while a row rides keeps the new mark until the new glide ends. * fix(List): a travelling row keeps its surface in a list with dividers The press layer's overDividers, composed after the travelling style, also sets box-shadow, so a travelling row in a list with dividers and pressable rows lost its surface, and its label drew over the rows it crossed. The travelling style now also sets the surface as a private custom property, and overDividers keeps it in each of its shadows. Every other row resets the property, so a nested row never inherits it. Co-authored-by: Cindy Zhang <[email protected]>
User impact
In a List with
hasDividers, a hovered or pressed row loses the divider above it. That divider meets the tint at about 1.06:1 in light, and 1.00:1 for a press in dark. Under a finger both merge: the press layer stops at the row's border.Problem and solution fit
The divider above a row belongs to the row before it, so it sits beside the tint. The row's own divider is its border, which paints over its background, except where the press layer stops at it. The fix carries the tint over the divider above, and over both where a press layer paints. The tint is translucent, so a divider under it reads as at rest.
Expected behavior and authority
Authority: Cindy, Nov 6 2026, card 87d: "87d B not sure what we gain from removing the dividers"; recorded in List FR11 as "A highlighted row (hovered, or pressed by any pointer) keeps both dividers visible in
--color-borderthrough its translucent tint; no divider hides or changes color for highlight". Her pick covers the try-it's (#10265) three states: hover, mouse press, finger press. This is consistent with DEC-6. The first commit amends FR11 and adds a verification row.Smallest restoration
One new style,
rowPressLayerStyles.overDividers, which ListItem composes on an interactive row of a List with dividers:No token, prop or default is added.
Evidence
Scope
Testing
ListDividers.interaction.browser.spec.ts(new), Chromium and WebKit, the List "Compact" story in light and dark. A row is hovered, then pressed by a mouse, then pressed by a finger, under a coarse primary pointer and, in Chromium, under a fine one (a touch screen beside a fine pointer, through CDP). Each case checks that the tint is painted and that both dividers keep their computed border. Each divider's contrast against the tint beside it must stay within 0.05 of its contrast against its row at rest.ListRowPressPaths.interaction.browser.spec.ts: the touch case for a row between two divided rows now checks the same contrast while the row is held, halfway through the release, and after it, instead of the old unchanged pixels.[try-it]preview's B, same story and settled states, Chromium at 1×. Light hover and both mouse presses are identical. Dark hover differs by at most 1 level on 370 pixels: the tint and the divider composite in the other order. Each finger press differs on 4 pixels, on the edge of the row's icon, by up to 17 levels; no divider pixel differs.:activeon the focused button, and the press controller writes no press state for it. So a keyboard press leaves the dividers as they are at rest.pnpm build, the Storybook build, core typecheck, the units for the row overlay, List and Item (216 tests), and the interaction specs for List, Item, TreeList, CheckboxList and RadioList (Chromium 40 passed, 1 skipped).test:uiandtest:nodepassed at the previous head, and this head changes one style rule and its spec. ESLint, Prettier,review:preand the public text check pass.Writing rubric results
R1 narration: none. FR11's new sentence, the ownership line and the end-user line state what a row does; the citation is the owner's decision, in the record's own words.
R2 research: none in the record; the contrast numbers live in this description.
R3 evidence: the new verification row names real-browser pixel evidence and its failure expectation, not a change.
R4 rejected alternatives: none added.
R5 change references: none.
R6 open questions: none touched.
Review notes
CodeBunny's three optional notes (Compatibility wording, the FR11 credit's placement, a press-layer comment) go to a post-merge follow-up; the credit's placement is the spec owners' call.
Under a fine primary pointer, the strip over the divider follows the row's existing press fade (
--_press-paint); it adds no animation, so FR11's PR2 holds.