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

Data loss when second user enters entry #68

Open
helloiamlukas opened this issue Sep 19, 2022 · 0 comments
Open

Data loss when second user enters entry #68

helloiamlukas opened this issue Sep 19, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@helloiamlukas
Copy link
Contributor

helloiamlukas commented Sep 19, 2022

Description

When a second user opens an entry while an other user is editing a bard field, the typed content will disappear and the cursor will focus to the end of the document.

How to reproduce

  1. User A opens an entry that includes a bard field
  2. The bard field of this entry includes at least two paragraphs/lines
  3. User A writes text in the first paragraph/line of the bard field
  4. While User A is typing, User B is opening the entry in the browser
  5. A part of the typed text of User A will disappear and the focus of the cursor will be at the end of the paragraph/line.

It seems like when the second user enters, an update is broadcasted – but this update still includes the old content.

@duncanmcclean duncanmcclean added the bug Something isn't working label Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants