Skip to content

[lexical-playground] Chore: Drop FIXME #8348 Firefox ArrowDown workaround in Tables.spec.mjs#8508

Merged
etrepum merged 1 commit into
facebook:mainfrom
markselby9:chore/8348-cleanup-tables-arrowdown-fixme
May 13, 2026
Merged

[lexical-playground] Chore: Drop FIXME #8348 Firefox ArrowDown workaround in Tables.spec.mjs#8508
etrepum merged 1 commit into
facebook:mainfrom
markselby9:chore/8348-cleanup-tables-arrowdown-fixme

Conversation

@markselby9

Copy link
Copy Markdown
Contributor

Summary

Issue #8348 (Firefox regression in up/down arrow key handling with collapsible) was fixed by #8349 (merged 2026-04-14). The same PR added Selection.spec.mjs:703 "Arrow keys navigate into/out of collapsible content in all browsers (#8348)", which asserts arrow-nav now works correctly in Firefox too.

The Firefox-only ArrowRight workaround in Tables.spec.mjs is now dead code — it masks any future regression and obscures the test's intent (this test is checking collapsible-newline behavior inside tables, not arrow-key navigation).

Diff

     await page.keyboard.type('123');
-    await page.keyboard.press(
-      // FIXME #8348 firefox ArrowDown skips over the content block
-      browserName === 'firefox' ? 'ArrowRight' : 'ArrowDown',
-    );
+    await page.keyboard.press('ArrowDown');
     await page.keyboard.type('123');

browserName stays in the destructure — it's still used a few lines below for the Collapsible HTML-output check.

Scope

One file, +1 / -4. No source / test-helper / CI changes.

…n workaround in Tables.spec.mjs

Issue facebook#8348 (Firefox regression in up/down arrow key handling with
collapsible) was fixed by facebook#8349 (merged 2026-04-14). Selection.spec.mjs
now asserts arrow-nav into/out of collapsible content works in all
browsers (facebook#8348). The Firefox-only ArrowRight workaround in
Tables.spec.mjs is dead code that masks any future regression and
obscures the test's intent (it's checking collapsible-newline behavior
in tables, not arrow-key navigation).
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 13, 2026
@vercel

vercel Bot commented May 13, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
lexical Ready Ready Preview, Comment May 13, 2026 6:40am
lexical-playground Ready Ready Preview, Comment May 13, 2026 6:40am

Request Review

@etrepum etrepum added this pull request to the merge queue May 13, 2026
Merged via the queue into facebook:main with commit 5fed4a6 May 13, 2026
47 checks passed
@etrepum etrepum mentioned this pull request May 28, 2026
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 Facebook bot. Authors need to sign the CLA before a PR can be reviewed. extended-tests Run extended e2e tests on a PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants