facebook / lexical

Lexical is an extensible text editor framework that provides excellent reliability, accessibility and performance.
https://lexical.dev
MIT License
19.95k stars 1.7k forks source link

Bug: Autocomplete on Collab - suggestion appears in a different session while composing on another. #6844

Open bedre7 opened 4 days ago

bedre7 commented 4 days ago

Lexical version: v0.20.0

Steps To Reproduce

  1. Run lexical locally
  2. Turn on autocomplete and collab mode from the sidebar settings
  3. Copy the url
  4. Open new browser tab/window and paste the url
  5. Type common word on one of the editors, wait and accept the suggestion with Tab key.
  6. Repeat step-5 by switching the tabs

The current behavior

https://github.com/user-attachments/assets/d74f8012-ea1b-49a5-b593-5070053a6005

The expected behavior

The suggestion should appear in the respective session only.