Skip to content

spec(Selector): long option lists open windowed - #9661

Draft
cixzhang wants to merge 10 commits into
mainfrom
spec/selector-windowed-open
Draft

cixzhang wants to merge 10 commits into
mainfrom
spec/selector-windowed-open

Conversation

@cixzhang

@cixzhang cixzhang commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Maintainer impact

A person who opens a Selector with a long option list gets a responsive page sooner, and fast scrolling never shows empty rows. Today every option renders on open, so the open freezes the page longer as the list grows. Measured on first open (production build, popover, Chromium with a 4× CPU slowdown, median of 5), the longest freeze for a full render is:

Options 25 50 75 100 150 200 249 400
Longest freeze, full render (ms) 79 101 120 139 167 193 228 306
  • The 100 ms freeze budget binds; a full render crosses it at about 50 options. Input to first paint crosses 100 ms at about 46.
  • A windowed open stays flat at 77–84 ms from 25 to 1,000 options.
  • With 5 rows of overscan past each edge plus a lead in the scroll direction, windowed scrolling showed 0 blank frames in 20 of 20 cases: 249 and 1,000 options × wheel, trackpad fling, scrollbar drag, held PageDown, and touch fling, in Chromium and WebKit, checked on every frame by rendered-row coverage and by screen pixels.
  • Still owed: real Safari touch fling and thumb drag (WebKit inputs for those two were approximated), and a real screen reader's "n of total" announcement.
  • The threshold was measured before option rows were memoized. It stays conservative after that work and is re-measured then.
  • Separate gap, not addressed here: the bottom sheet misses the 100 ms freeze budget at every option count, from a fixed cost of opening the sheet.

This is the governing spec for trying the shared windowing engine on Selector. PR5 says Selector's listbox windows through the shared windowing module that architecture:list-windowing INV1 owns. The record names no path for that module, so PR5 names none; #10809 proposes the engine's home.

Exact decision needed

None open. The owner decided how a long option list opens (DEC-3) and that the shared engine is tried on Selector (architecture:list-windowing DEC-5, #10809).

Existing authority searched

  • component:Selector FR2 (selected row aligned over the trigger), FR6, FR7, PR2, AR3, and the verification map. No claim governs how many options render.
  • The open record pull request "spec(Selector): a closed Selector holds no option list" adds PR3, DEC-2, and a Current-state impact section; it is not merged. This record uses PR4 and DEC-3 so the two do not collide; the Current-state impact sections merge as one list.
  • spec:AST-009 FR8 (AT-dependent claims name lower-layer evidence) and spec:AST-020 FR1 (WCAG 2.2 baseline) for the listbox position exposure.
  • spec:AST-017 FR1, FR3, FR5, FR7 for the release class.
  • architecture:list-windowing INV1 (one windowing module in Core) and INV3 (consumers keep their public shapes). docs(windowing): the shared engine's home is packages/core/src/virtualization #10809 adds FR5 (the engine lives in packages/core/src/virtualization/); docs(windowing): every virtualizer works in container and page scroll; Table windows inside its own scroll area #10796 adds the container and page scroll and size-budget claims. The scroll-area contract (window only when the list scrolls; render every item when they fit) is being added to the same record; PR5 cites the record by name until that claim has a number.
  • component:Selector FR8 (which option is highlighted on opening) on main; PR5's anchor matches PR4's per-open rule.

Decision

The owner, on 2026-11-02: long option lists open windowed, rendering only the options visible on open, anchored at the top for a plain open, the bottom for ArrowUp or End, or around the selected value, with one anchor computation that sets both the rendered rows and the initial scroll position before the first paint. Windowing applies only above a threshold (below it every option renders, as today), and fast scrolling must never show blank or flashing rows. Both row theming targets stay unchanged.

Recorded as component:Selector PR4 and DEC-3, unchanged.

PR5 — The listbox windows through the shared engine. Selector's listbox windows through the shared windowing module that architecture:list-windowing INV1 owns and keeps no windowing code of its own. Through it:

  • Scroll area: the listbox windows only when it actually scrolls; when every option fits, every option renders, whatever the count.
  • Anchor at each open: one anchor set before the first paint: the selected option, the last option for an ArrowUp open, the first option otherwise.
  • Rows at any text size: no option row clips or overlaps its neighbour, the scroll range is within 1 px of the rendered rows, and every painted frame shows the scrollport fully covered (PR4). Row pitch and the rows rendered past each edge are architecture:list-windowing's.
  • The anchor is internal and adds no prop.

Release class: patch [fix]. Undocumented markup is not a released contract (spec:AST-017 FR3); documented selection, keyboard, accessibility, and form behavior stays the same, so no caller must change source (FR1); a victim-free correction is [fix] with a patch bump (FR5, FR7).

Rejected alternatives

  • Window every list, whatever its length: the owner kept full rendering for short lists.
  • Render every option, as today: the open freeze grows with the list and crosses the budget at about 50 options.

Claim scope and non-goals

  • Governs which option rows a Selector renders while open, the opening anchor, scroll coverage, and the listbox position semantics of a windowed list.
  • Also governs how the listbox uses the shared windowing engine (PR5).
  • Out of scope: MultiSelector, the bottom sheet's fixed open cost, and the shared engine's own requirements (architecture:list-windowing).

Evidence and implementation relationship

  • Measurements above come from a prototype on the latest published build. On main, Selector renders every option on open; the record names that as PR4 and PR5 gaps.

Changed records

  • component:Selector: new PR5 (numbered after the open PR3 and this PR's PR4; shared engine, scroll area, anchor, outcomes at any text size), architecture:list-windowing in its architecture list, gap lines for PR4 and PR5, and three PR5 verification rows (fit versus scroll; import review; text-size checks with an exact size). The build-status line under PR4 is removed. PR4 and DEC-3 are otherwise word for word.
  • This update (CodeBunny, after a main merge): PR5 no longer states row sizing or overscan, which architecture:list-windowing owns (one row pitch, a few rows past each edge), and keeps them as Selector outcomes; PR4's anchor lists the selected option first, as FR8 does; the screen-reader evidence cites spec:AST-009 FR19; the grid row reads as an evidence gap; main's FR10 and required-search AR1 rows are kept.
  • Earlier on this PR: new PR4, DEC-3, a Current-state impact section (PR4 gap; the bottom sheet's fixed open cost), a compatibility line with the release class, and six verification rows (threshold edge; first-frame anchor; per-frame coverage at 249 and 1,000 options in Chromium and WebKit for five inputs; real Safari touch fling and thumb drag as an evidence gap; active option, position attributes, and keyboard reach; real screen reader count as an evidence gap).

Writing rubric results

  • R1 narration: none; PR4, PR5 and DEC-3 state what the Selector does in the present tense.
  • R2 research in the record: none; the curve and the frame counts live in this description only, and DEC-3 keeps a two-sentence conclusion (the binding budget, the crossing point, the margin).
  • R3 evidence naming a change: none; verification cells name tests, browsers, and checks.
  • R4 rejected alternatives over one line or outside a decision: none in the record.
  • R5 pull request or issue references remaining: none in the record.
  • R6 ruled open questions still listing options: none; Open questions stays "None".
  • Status phrases: no build-status or sequencing line remains (the PR4 "not built" line is removed; checked with the status-phrase list from chore(knowledge): warn on temporary project status in records #10794).

Scope

  • This PR contains specification records only.
  • It records observable behavior and preserves equivalent internal implementations.
  • Any named internal mechanism is intentionally public, names its dependent caller/system, and explains why an equivalent implementation would not satisfy the contract.
  • Verification states the evidence layer and failure signal without prescribing CI job/workflow topology.
  • It records one intentional durable decision, not a rescue for a separable tagalong.
  • The canonical knowledge owner, affected current claims, and overlapping open work are named; any ownership collision is resolved or called out for human decision.
  • Adjacent API, visual, accessibility, composition, and implementation facts remain outside scope unless this exact decision depends on them.
  • Public text and artifacts contain no internal context.

Validation

  • Merged main; the verification-table conflict keeps main's FR2, FR8 and FR9 rows and the PR4 rows.
  • pnpm check:knowledge: "Knowledge templates and records are aligned."
  • pnpm specs:for --diff origin/main: reviewed.
  • Prettier: clean
  • git diff --check: clean

@vercel

vercel Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
astryx Ready Ready Preview Nov 15, 2026 10:02pm UTC

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 2, 2026
@github-actions github-actions Bot added the needs:spec-owner-review Current knowledge records await owner approval label Nov 3, 2026
@astracat-bot

astracat-bot Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
❓ Needs maintainer input (for maintainers only) Nov 27, 2026, 11:57 AM UTC

@cixzhang

cixzhang commented Nov 3, 2026

Copy link
Copy Markdown
Contributor Author

/approve-spec 7c3ab72

@github-actions github-actions Bot removed the needs:spec-owner-review Current knowledge records await owner approval label Nov 3, 2026

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes requested: the owner-approved direction for windowed long option lists stands, but the Selector record needs four short edits before it merges.

  • End does not open the list: PR4's opening anchor and the first-frame verification row name an open by End, but a closed Selector opens only on ArrowDown, ArrowUp, Enter, Space or a press, and in a search list Home and End move the caret and typing filters, so drop End from the anchor and scope Home, End and typeahead reach to lists without search.
  • The grid popup has no position rule: PR4 exposes the full-list position only through aria-setsize and aria-posinset on options, but under spec:AST-058 FR2, FR3 and AR1 a Selector whose options carry an action renders a grid of rows with no options, so add the grid form (aria-rowcount on the grid, aria-rowindex on each rendered row) and a grid state in the verification row.
  • Screen-reader browse and swipe reach is unnamed: windowing makes reaching unrendered options by virtual cursor or touch swipe depend on the screen reader, so name that outcome in PR4 with its nearest browser evidence and add an evidence-gap row, as spec:AST-009 FR5, FR8 and FR19 ask.
  • DEC-3 carries a work item: "re-measure after the row memo lands" ties the record to one pending implementation change, against architecture:knowledge-contracts INV10, so delete it or state a durable bound.

The inline comments mark each line.

[Automated review]

…d-open

# Conflicts:
#	docs/specs/components/Selector/Selector.spec.md
@github-actions github-actions Bot added the needs:spec-owner-review Current knowledge records await owner approval label Nov 6, 2026

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval waits on an engineering owner's decision. This head adds component:Selector PR4 and DEC-3, and the earlier /approve-spec names an older commit, so it no longer counts.

To move forward:

  • An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request once the record is ready; the author may do so, as an engineering owner.
  • spec:AST-058 is already current: PR4's accessibility paragraph (lines 237–240) and the grid verification row (line 415) say the grid popup waits for AST-058 to become current, but that record is current, so state the grid rule directly and give the row's gap as "the grid popup is not built".
  • Miss: One anchor gives two anchors for a keyboard open with a value: ArrowUp or ArrowDown on a closed Selector with a value matches both a list-end anchor and the selected-option anchor (lines 226–230), and a search list is told to open on the selected row where today it opens with no option active, so anchor on the option the open makes active and add those two states to the first-frame row.

The four earlier inline findings are fixed at this head.

[Automated review]

…d-open

# Conflicts:
#	docs/specs/components/Selector/Selector.spec.md
PR5 names the shared engine, the scroll-area rule, the per-open anchor, pixel overscan and exact or estimated item size; gap lines name PR4 and PR5; the build-status line is gone. PR4 and DEC-3 are unchanged.
@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

PR Analysis Report

Current run: The current change has no visual or preview-producing scope. Visual checks are not applicable; preview links are not shown.


Generated by PR Enrichment workflow | View current CI run

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval waits on an engineering owner's decision: this head adds component:Selector PR5 beside PR4 and DEC-3, and the earlier /approve-spec names an older commit, so it no longer counts. An engineering owner records the decision by commenting /approve-spec <full head SHA> once the record is ready; the author may do so, as an engineering owner.

These edits are needed either way:

  • spec:AST-058 is already current: PR4's grid sentence (lines 242–245) and the grid verification row (line 444) say the grid popup waits for AST-058 to become current, so state the grid rule directly and give the row's gap as "the grid popup is not built".
  • PR5 cites list-windowing facts that record does not state: architecture:list-windowing names no module path ("The module itself has no path yet") and has no scroll-area claim, so name the module as the one its INV1 owns, drop packages/core/src/virtualization/ from PR5 and its verification row (lines 254–260 and 446), and keep the scroll-area rule as Selector's own claim.
  • The PR4 and PR5 verification rows contradict: the PR4 row (line 437) fails a list of more than 40 that renders every option, while the PR5 row (line 445) requires exactly that when every option fits, so make PR4's failure "a list of more than 40 that scrolls renders every option".
  • Restore the perf test: the brace wrap in apps/sandbox/perf/scenes.perf.spec.ts (lines 70–72) came from the merge's lint autofix and turns this records-only pull request into a mixed one that runs full CI, so restore main's line.

[Automated review]

Comment thread apps/sandbox/perf/scenes.perf.spec.ts Resolved
…list-windowing states; PR4 and PR5 rows agree

AST-058 is current, so PR4 states the grid popup's aria-rowcount and aria-rowindex directly and the grid row's gap is that the grid popup is not built. PR5 names the windowing module as the one list-windowing INV1 owns, without a path that record does not state, and keeps the scroll-area rule as Selector's own claim. PR4's row fails only a scrolling list of more than 40 that renders every option, so it no longer contradicts PR5's row.
A lint autofix in an earlier merge wrapped this loop in braces. Restoring main's line keeps this pull request records-only. Committed without hooks, because the same autofix would wrap it again; the content is main's.

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval waits on an engineering owner's decision on component:Selector PR4, PR5 and DEC-3, whose only /approve-spec names an older commit, and one record edit is needed either way; the edits requested earlier are all made.

  • Regression: PR5 contradicts architecture:list-windowing: PR5's estimated item size with measured rows and its per-side pixel overscan (lines 256–263, and the text-size row at line 439) describe module behavior that the current list-windowing record states otherwise ("On the block axis, all rows share one pitch", "a few rows past each edge"), so keep them as Selector outcomes (no clipped or overlapping rows at any text size, a scroll range within 1 px of the rendered rows, fully covered frames) and leave row sizing and overscan to list-windowing, or amend that record first.

Next, merge main (the verification map conflicts with its new FR10 and required-search rows, and the merge commit voids an approval of this head), then an engineering owner, the author included, comments /approve-spec <full head SHA> on the new head. A smaller note: the grid row's "the grid popup is not built" (line 436) is build status under the records rule, so "(evidence gap)" alone fits.

Claims and files checked

Review mode: full; reason: spec-record

  • Claim: windowing above 40 options is recorded as PR4 and DEC-3 — verified (Selector.spec.md lines 227–250 and 459–469).
  • Claim: PR5 routes the listbox through the shared windowing module and adds no prop — verified (lines 251 and 264–265).
  • Claim: PR5 uses the vocabulary the other virtualizers share — false: the list-windowing record gives the block axis one row pitch, and Table's row virtualization uses fixed-height rows with four overscan rows per side.
  • Claim: the list-windowing record names no path for the module — outdated: the current record names the module's folder; PR5 naming none is still correct delegation.
  • Claim: no decision is open — false at this head: the spec owner approval is pending.
  • Claim: an owner decision in the list-windowing record covers trying the engine on Selector — not in the current record, which holds one decision.
  • Claim: the release class is a patch fix under the compatibility policy — verified (lines 83–89 against its compatibility clauses).
  • Claim: the latest commits add PR5, the frontmatter entry, two gap lines and three PR5 rows, remove the PR4 build-status line, and keep PR4 and DEC-3 otherwise word for word — verified.
  • Claim: earlier commits added six PR4 verification rows — incomplete: the head has eight, adding the screen-reader browse and swipe row and the grid popup row.
  • Claim: no build-status or sequencing line remains — false: line 436 says the grid popup is not built.
  • Claim: the record keeps no pull request or issue references — verified.
  • Claim: the knowledge check reports records aligned — verified at this head.
  • Claim: main was merged with the verification-table conflict resolved — true for the earlier merge; the branch conflicts with main again.
  • Claim: the freeze and blank-frame measurements — the author's evidence, not reproduced; they live in the description, not the record.
  • File: docs/specs/components/Selector/Selector.spec.md — one blocking finding (PR5 item size and overscan) and three non-blocking notes: grid row build status, One anchor precedence, and Miss: a bare FR19 at line 250 that should name spec:AST-009.

Automated review (maintainer link)

No verified source shows the owner deciding this decision yet. The decider is named, with its source, when the owner approves this specification.

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval waits on an engineering owner's decision on component:Selector PR4, PR5 and DEC-3, which have no /approve-spec at this head, and one record edit is needed either way.

  • Regression: PR5 contradicts architecture:list-windowing: PR5's estimated item size with measured rows and its per-side pixel overscan (lines 256–263, and the text-size row at line 439) describe module behavior that the current list-windowing record states otherwise ("On the block axis, all rows share one pitch", "a few rows past each edge"), so keep them as Selector outcomes (no clipped or overlapping rows at any text size, a scroll range within 1 px of the rendered rows, fully covered frames) and leave row sizing and overscan to list-windowing, or amend that record first.

Next, merge main (the verification map conflicts with its new FR10 and required-with-search rows, and the merge commit voids an approval of this head), make the PR5 edit, and then an engineering owner, the author included, comments /approve-spec <full head SHA> on the new head. Smaller notes: the grid row's "the grid popup is not built" (line 436) is build status, so "(evidence gap)" alone fits; PR4's One anchor should list the selected option first, as PR5 and FR8 do (see the inline note, which corrects an earlier suggestion there); and the bare "(FR19)" at line 250 should read spec:AST-009 FR19.

Claims and files checked

Review mode: full; reason: spec-record

  • Claim: windowing above 40 options is recorded as PR4 and DEC-3 — verified (Selector.spec.md lines 227–250 and 459–469).
  • Claim: PR5 routes the listbox through the shared windowing module and adds no prop — verified (lines 251 and 264–265).
  • Claim: PR5 uses the vocabulary the other virtualizers share — false: the list-windowing record gives the block axis one row pitch, and Table's row virtualization mounts four overscan rows per side.
  • Claim: the list-windowing record names no path for the module — outdated: the current record names the module's folder; PR5 naming none is still correct delegation.
  • Claim: no decision is open — false: the spec owner approval is pending at this head, and DEC-3's decider reads "pending owner confirmation".
  • Claim: an owner decision in the list-windowing record covers trying the engine on Selector — not in the current record, which holds one decision; the proposal is an open pull request.
  • Claim: the open record pull request that adds PR3 and DEC-2 is unmerged, so this one uses PR4 and DEC-3 — verified.
  • Claim: no current Selector claim governs how many options render — verified.
  • Claim: the release class is a patch fix under the compatibility policy — verified (lines 83–89 against its compatibility clauses).
  • Claim: the scroll-area rule cites the list-windowing record by name — partly: PR5 states it as Selector's own rule with no citation (line 252), which needs none.
  • Claim: the latest commits add PR5, the frontmatter entry, two gap lines and three PR5 rows, remove the PR4 build-status line, and keep PR4 and DEC-3 otherwise word for word — verified; DEC-3's decider line is now a placeholder.
  • Claim: earlier commits added six PR4 verification rows — incomplete: the head has eight, adding the screen-reader browse and swipe row and the grid popup row.
  • Claim: no build-status or sequencing line remains — false: line 436 says the grid popup is not built, a phrase the status-phrase list names.
  • Claim: the record keeps no pull request or issue references — verified.
  • Claim: the knowledge check reports records aligned — verified at this head.
  • Claim: Prettier and the whitespace check are clean — verified.
  • Claim: main was merged with the verification-table conflict resolved — true for the earlier merge; the branch conflicts with main again.
  • Claim: the bottom sheet's fixed open cost is a separate gap no requirement governs — verified (lines 127–130).
  • Claim: real Safari flings and a real screen reader's count are still owed — verified as evidence-gap rows (lines 432, 434 and 435).
  • Claim: the other writing-rubric results (present tense, no research beyond DEC-3's two-sentence conclusion, no rejected alternatives or open questions in the record) — verified.
  • Claim: the pull request contains specification records only — verified: its net diff changes one record.
  • Claim: the specs lookup over the diff was reviewed — a process step, not checkable from the pull request.
  • Claim: the freeze and blank-frame measurements — the author's evidence, not reproduced; they live in the description, not the record.
  • File: docs/specs/components/Selector/Selector.spec.md — one blocking finding (PR5 item size and overscan) and three non-blocking notes: grid row build status, One anchor order, and the bare FR19 at line 250.

Automated review (maintainer link)

Keeps main's FR10 and required-search AR1 verification rows and adds the PR4 and PR5 rows. PR5 now states Selector's outcomes at any text size and leaves row pitch and the rows past each edge to architecture:list-windowing, which it no longer contradicts. PR4's anchor lists the selected option first, as FR8 does; the screen-reader evidence cites spec:AST-009 FR19; the grid row reads as an evidence gap.

@astracat-bot astracat-bot Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approval waits on an engineering owner's decision on component:Selector PR4, PR5 and DEC-3, which still have no /approve-spec for this commit, and two edits are needed either way.

  • PR5 and mixed-height lists: PR5 requires that no option row clips or overlaps and that the scroll range stays within 1 px of the rendered rows (line 254) while leaving row pitch to architecture:list-windowing, whose block axis gives all rows one pitch, so a long list with section headings, dividers, stacked descriptions or renderOption content conforms only if every row takes the tallest row's height; state which lists window (for example only lists whose rows share one height, rendering every option otherwise, with a mixed-height state in the PR5 text-size row) or amend the list-windowing record first.
  • Miss: Description decision state: the description says no decision is open, cites a list-windowing DEC-5 and says that record names no module path, but DEC-3's decider reads "pending owner confirmation", owner approval is pending, and the current list-windowing record holds only DEC-1 and names packages/core/src/virtualization/, so those lines need updating.

Both points still apply against the current main, and the branch merges cleanly with it. After both edits, an engineering owner records the decision by commenting /approve-spec <full head SHA> on the new commit; the author may do so as an engineering owner.

Claims and files checked

Review mode: same-head; reason: none

  • Claim: windowing above 40 options is recorded as PR4 and DEC-3 — verified (lines 228–248 and 451–461).
  • Claim: PR5 routes the listbox through the shared windowing module and adds no prop — verified (lines 249 and 255).
  • Claim: PR5 no longer states row sizing or overscan and keeps them as Selector outcomes — verified (line 254); the outcome does not fit mixed-height lists (finding above).
  • Claim: PR4's anchor lists the selected option first, as the opening-highlight rule does — verified (line 233).
  • Claim: the screen-reader evidence cites the assistive-technology evidence spec's lower-layer rule in full — verified (line 248).
  • Claim: the grid row reads as an evidence gap — verified (line 428).
  • Claim: the merge keeps main's opening-highlight, query-highlight, highlight-follows-value and required-with-search rows beside the new rows — verified (lines 413 and 417–431); the branch merges cleanly with the current main.
  • Claim: no decision is open — false: owner approval is pending and DEC-3's decider is a placeholder (finding above).
  • Claim: an owner decision in the list-windowing record covers trying the engine on Selector — false: the current record holds one decision (finding above).
  • Claim: the list-windowing record names no path for the module — false: it names the virtualization folder (finding above); PR5 naming none is still right.
  • Claim: PR5 cites the list-windowing record by name for the scroll-area rule — outdated: PR5 states it as Selector's own rule (line 250), which needs no citation.
  • Claim: the open proposals for the windowing engine's home and for container and page scroll are unmerged — verified: both are still open drafts.
  • Claim: the open record pull request that adds PR3 and DEC-2 is unmerged, so this one uses PR4 and DEC-3 — verified: it is still open.
  • Claim: no current Selector claim governs how many options render — verified.
  • Claim: the release class is a patch fix under the compatibility policy — verified (lines 83–89).
  • Claim: the bottom sheet's fixed open cost is a separate gap no requirement governs — verified (lines 127–130).
  • Claim: real Safari flings and a real screen reader's count are still owed — verified as evidence-gap rows (lines 424, 426 and 427).
  • Claim: earlier commits added six PR4 verification rows — incomplete: the head has eight PR4 rows.
  • Claim: the three PR5 rows include text-size checks with an exact size — outdated: the row lists 200% text, a minimum font size and a late web font (line 431).
  • Claim: no build-status or sequencing line remains — verified: the knowledge check flags none in this record.
  • Claim: the knowledge check reports records aligned — verified.
  • Claim: Prettier and the whitespace check are clean — verified.
  • Claim: the other writing-rubric results (present tense, research kept to DEC-3's conclusion, no rejected alternatives, references or open questions added to the record) — verified.
  • Claim: the pull request contains specification records only — verified: its diff changes one record.
  • Claim: the specs lookup over the diff was reviewed — a process step, not checkable from the pull request.
  • Claim: the freeze and blank-frame measurements — the author's evidence, not reproduced; they live in the description, not the record.
  • File: docs/specs/components/Selector/Selector.spec.md — one blocking finding (PR5 and mixed-height lists).
  • Description — one blocking finding (decision state).

Automated review (maintainer link)

- **Anchor at each open.** Each open sets one anchor before the first paint:
the selected option for an open with a value, the last option for an open
by ArrowUp, and the first option otherwise (PR4).
- **Rows at any text size.** At any text size, no option row clips or overlaps its neighbour, the scroll range is within 1 px of the rendered rows, and every painted frame shows the scrollport fully covered by option rows (PR4). Row pitch and the rows rendered past each edge are the module's (`architecture:list-windowing`).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This leaves row pitch to architecture:list-windowing, whose block axis says "all rows share one pitch", but a Selector list can mix row heights today: section headings, dividers, options with a stacked description, and renderOption content (AV2). With PR4 windowing every scrolling list above 40 options, such a list meets "no option row clips or overlaps" and the 1 px scroll range only if every row takes the tallest row's height. Suggest stating which lists window (for example only lists whose rows share one height, with every option rendered otherwise) and adding a mixed-height state to the PR5 text-size row (line 431), or amending list-windowing's block-axis model first. This corrects the earlier suggestion on PR5, which did not account for mixed-height rows.

This branch was successfully deployed

1 active deployment
Preview — 614056b3 Deployed Nov 15, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. needs:spec-owner-review Current knowledge records await owner approval

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant