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-playground][TableCellResizer] Feature: Center the drag zone over the edge of the cell #6071

Merged
merged 1 commit into from
May 12, 2024

Conversation

apella
Copy link
Contributor

@apella apella commented May 9, 2024

Description

Shift the selection rectangles to the center of the edge, instead of being outside the cell. This makes for a more intuitive user experience as the user will try to select the edge, not the outside of the table cell.

Test plan

Before

(briefly visualized the areas so that the change can be seen)

cell-resizer-old-regions

After

cell-resizer-new

Insert relevant screenshots/recordings/automated-tests

Shift the selection rectangles to the center of the edge, instead of
being outside the cell. This makes for a more intuitive user
experience as the user will try to select the edge, not the outside of
the table cell.
Copy link

vercel bot commented May 9, 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 May 9, 2024 1:52pm
lexical-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 9, 2024 1:52pm

@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 May 9, 2024
@ivailop7 ivailop7 changed the title [lexical-playground][TableCellRecizer] Feature: Center the drag zone over the edge of the cell [lexical-playground][TableCellResizer] Feature: Center the drag zone over the edge of the cell May 12, 2024
@ivailop7
Copy link
Collaborator

@ebads67 is this the final version we settled on?

@ivailop7 ivailop7 merged commit 7161b32 into facebook:main May 12, 2024
45 checks passed
@ebads67
Copy link
Collaborator

ebads67 commented May 13, 2024

@ebads67 is this the final version we settled on?

Yes, this is just centering the cell resizer drag zone.

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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants