Skip to content

fix: keep boxless selection fixture in block flow - #5027

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-4957
Nov 2, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-4957

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The column grid introduced in #4724 places the boxless wrapper's children in separate tracks. The target picker sorts by visible position, so the wrapper can precede the heading: both Tab commands execute, but the second correctly announces the heading. A passing attempt could catch the wrapper's delayed first announcement before the heading replaced it.

Keep this hit-testing fixture in ordinary block flow and verify the heading announcement before advancing to the wrapper. This preserves the test's separated painted runs and the product's native grid layout.

Validation: reproduced the reported heading diagnostic on unchanged main at 20× CPU throttling; a temporary trace at 6× confirmed both next-target invocations and the wrapper-then-heading announcements. The repaired test passes at 6× and 20× throttling. Ruff lint and formatting checks pass.

Closes #4957 — automated triage

The column grid places display: contents children in separate tracks, so visual target sorting can put the split wrapper ahead of the heading. Both Tab commands ran; the assertion sometimes caught the first delayed announcement before the heading replaced it. Use ordinary block flow and verify the first stop before advancing to the wrapper. This preserves the boxless hit-testing behavior and the native grid layout introduced in #4724.

Closes #4957
@leaf-agent
leaf-agent merged commit 737cf40 into main Nov 2, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-4957 branch November 2, 2026 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Boxless selection hint sometimes remains on the heading

1 participant