Skip to content

Fix delayed RangeSelection on click when NodeSelection/GridSelection - #2872

Closed
zurfyx wants to merge 5 commits into
mainfrom
fix-nodeselection
Closed

zurfyx wants to merge 5 commits into
mainfrom
fix-nodeselection

Conversation

@zurfyx

@zurfyx zurfyx commented Aug 22, 2022 •

Copy link
Copy Markdown
Member
Screen.Recording.2022-08-22.at.6.18.00.pm.mov

Closes #2856

@vercel

vercel Bot commented Aug 22, 2022 •

Copy link
Copy Markdown

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

Name Status Preview Updated
lexical ✅ Ready (Inspect) Visit Preview Aug 24, 2022 at 7:32PM (UTC)
lexical-playground ✅ Ready (Inspect) Visit Preview Aug 24, 2022 at 7:32PM (UTC)

@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 Aug 22, 2022
@zurfyx
zurfyx marked this pull request as ready for review August 22, 2022 21:52
@zurfyx
zurfyx marked this pull request as draft August 22, 2022 21:54
@zurfyx zurfyx changed the title Fix RangeSelection delay NodeSelection/GridSelection Fix delayed RangeSelection on click when NodeSelection/GridSelection Aug 22, 2022
@zurfyx
zurfyx marked this pull request as ready for review August 22, 2022 22:20
@trueadm

trueadm commented Aug 22, 2022

Copy link
Copy Markdown
Collaborator

Why was this original code added? Would be good to see what the original intent was

@zurfyx

zurfyx commented Aug 23, 2022

Copy link
Copy Markdown
Member Author

Why was this original code added? Would be good to see what the original intent was

My hunch is that it was trying to do the exact same except that it never considered that one edge case. Hence, why I copy-pasted the comment into the other file

This branch was successfully deployed

2 active deployments
Preview – lexical-playground — 10d151c1 Deployed Aug 24, 2022 by vercel[bot]
Preview – lexical — 10d151c1 Deployed Aug 24, 2022 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: RangeSelection does not update when NodeSelection active

3 participants