Skip to content

Fix: Floating toolbar flashes on hover over empty lines when the selection is backwards. - #3959

Merged
thegreatercurve merged 5 commits into
meta:mainfrom
AlessioGr:patch-1
Feb 24, 2023
Merged

thegreatercurve merged 5 commits into
meta:mainfrom
AlessioGr:patch-1

Conversation

@AlessioGr

Copy link
Copy Markdown
Contributor

This fixes #3727 by removing pointer events from the floating toolbar while you're holding the mouse down button.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

Hi @AlessioGr!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at [email protected]. Thanks!

@vercel

vercel Bot commented Feb 23, 2023 •

Copy link
Copy Markdown

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

Name Status Preview Comments Updated
lexical ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 24, 2023 at 0:08AM (UTC)
lexical-playground ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 24, 2023 at 0:08AM (UTC)

@facebook-github-bot

Copy link
Copy Markdown
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

@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 Feb 23, 2023
@facebook-github-bot

Copy link
Copy Markdown
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

@AlessioGr

Copy link
Copy Markdown
Contributor Author

Tests should hopefully pass now

@AlessioGr

Copy link
Copy Markdown
Contributor Author

This time for sure!

@thegreatercurve thegreatercurve left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for the fix @AlessioGr

@thegreatercurve
thegreatercurve merged commit 3d1dd92 into meta:main Feb 24, 2023

This branch was successfully deployed

2 active deployments
Preview – lexical-playground — f4e74f7e Deployed Feb 24, 2023 by vercel[bot]
Preview – lexical — f4e74f7e Deployed Feb 24, 2023 by vercel[bot]
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.

Bug: Floating toolbar flashes on hover over empty lines when the selection is backwards.

3 participants