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

fix(core): remove selectionchange throttle to avoid selection out of … #123

Merged
merged 2 commits into from
Sep 23, 2021

Conversation

pubuzhixing8
Copy link
Collaborator

…sync

@pubuzhixing8
Copy link
Collaborator Author

try to remove throttle.

The real-time collaborative editing scene native selection and editor selection are not synchronized, which may cause the focus to jump when the mouse is clicked. Because native selection and editor selection are not synchronized, the remote operation triggers the toNativeSelection operation, which repositions the native selection, causing the selection of the previous click to become invalid.

@pubuzhixing8 pubuzhixing8 merged commit c70d5ab into master Sep 23, 2021
@pubuzhixing8 pubuzhixing8 deleted the selectionchange branch September 23, 2021 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant