Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[lexical-table] Bug Fix: Fix left arrow key handling for table selection #6875

Merged
merged 3 commits into from
Nov 27, 2024

Conversation

etrepum
Copy link
Collaborator

@etrepum etrepum commented Nov 27, 2024

Description

The left arrow key handling for table selection had the wrong logic which caused it to move too far into a table if you ended up in an element selection inside of the next node.

Closes #6870

Test plan

Before

arrow-table-decorator-left-before.mov

After

arrow-table-decorator-left-after.mov

Copy link

vercel bot commented Nov 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lexical ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 27, 2024 6:30pm
lexical-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 27, 2024 6:30pm

@facebook-github-bot facebook-github-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 Nov 27, 2024
@etrepum etrepum added the extended-tests Run extended e2e tests on a PR label Nov 27, 2024
Copy link

github-actions bot commented Nov 27, 2024

size-limit report 📦

Path Size
lexical - cjs 30.91 KB (0%)
lexical - esm 30.79 KB (0%)
@lexical/rich-text - cjs 39.67 KB (0%)
@lexical/rich-text - esm 32.65 KB (0%)
@lexical/plain-text - cjs 38.27 KB (0%)
@lexical/plain-text - esm 29.93 KB (0%)
@lexical/react - cjs 41.4 KB (0%)
@lexical/react - esm 34 KB (0%)

@etrepum etrepum changed the title [lexical-table] Fix left arrow key handling for table selection [lexical-table] Bug Fix: Fix left arrow key handling for table selection Nov 27, 2024
@etrepum etrepum added this pull request to the merge queue Nov 27, 2024
Merged via the queue into facebook:main with commit a016d11 Nov 27, 2024
39 of 40 checks passed
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
3 participants