-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Bug Fix: Fix selection when hitting "shift+arrowdown" into a table. #6274
Merged
ivailop7
merged 12 commits into
facebook:main
from
serey-roth:serey/table/shift+arrowdown
Jun 26, 2024
Merged
Bug Fix: Fix selection when hitting "shift+arrowdown" into a table. #6274
ivailop7
merged 12 commits into
facebook:main
from
serey-roth:serey/table/shift+arrowdown
Jun 26, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Previously, the selection included only up to the first cell and its children, even though the whole table appears selected. We update the logic so that the entire table will actually be selected.
serey-roth
requested review from
zurfyx,
fantactuka,
acywatson,
Fetz,
ivailop7,
Sahejkm and
potatowagon
as code owners
June 7, 2024 22:28
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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
Jun 7, 2024
size-limit report 📦
|
ivailop7
previously approved these changes
Jun 7, 2024
@serey-roth can you recheck the tests, something seems off, I've reran them a couple of times, but fail consistently. |
sorry, removing the tag to prevent e2e test on every run, the tests should be triggered on next Approval again automatically. |
ivailop7
previously approved these changes
Jun 17, 2024
serey-roth
force-pushed
the
serey/table/shift+arrowdown
branch
from
June 25, 2024 05:47
6b0197c
to
f1dcd4e
Compare
auto-merge was automatically disabled
June 26, 2024 04:15
Head branch was pushed to by a user without write access
ivailop7
approved these changes
Jun 26, 2024
This was referenced Jul 23, 2024
This was referenced Aug 12, 2024
This was referenced Aug 15, 2024
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pressing "Shift+ArrowDown" into a table selects only up to the first table-cell node and its children, even though the whole table appears selected.
Description
Previously, the new focus would be set on the table's parent if the current selection was partially within a table. Now, it will be on the first/last cell of the table.
Closes #6273
Before
screencast-playground.lexical.dev-2024.06.07-14_50_45.webm
After
screencast-localhost_3000-2024.06.07-15_27_25.webm