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

Collab: Pause incoming remote changes while CJK composition is active #120

Open
mirka opened this issue Apr 13, 2022 · 0 comments
Open

Collab: Pause incoming remote changes while CJK composition is active #120

mirka opened this issue Apr 13, 2022 · 0 comments
Labels
bug Something isn't working [Feature] Collaboration Real-time collaborative editing

Comments

@mirka
Copy link
Member

mirka commented Apr 13, 2022

Steps to reproduce

  1. In the first Paragraph block, Peer 1 types in English.
  2. In the second Paragraph block, Peer 2 simultaneously types in Japanese using an IME.
  3. Peer 2 will have trouble entering characters because their input gets overwritten by remote updates before IME composition is finalized.

Possible fix

Listen for compositionstart events and pause the processing of incoming remote changes until the compositionend event is detected.

@mirka mirka added bug Something isn't working [Feature] Collaboration Real-time collaborative editing labels Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working [Feature] Collaboration Real-time collaborative editing
Projects
None yet
Development

No branches or pull requests

1 participant