Skip to content

Incorrect selection after undo #19

@ivan-kzn

Description

@ivan-kzn

Describe the bug
If you select some text and delete it, then you are undoing previous action - another users connected via yjs will see incorrect selection

To Reproduce
Steps to reproduce the behavior:

  1. Two collaborative users
  2. First user selects some text
    image
  3. Second user sees the selected text
    image
  4. First user deletes text and then presses Ctrl+Z
  5. First user sees correct text selection
    image
  6. Second user sees incorrect selection
    image

Expected behavior
Second user should see exactly same text selection

Environment Information

  • Browser / Node.js (Chrome, Angular)
  • Yjs 13.5.50, y-monaco 0.1.4, y-websocket 1.5.0

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions