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

Incorrect selection after undo #19

Open
ivan-kzn opened this issue Apr 28, 2023 · 0 comments
Open

Incorrect selection after undo #19

ivan-kzn opened this issue Apr 28, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ivan-kzn
Copy link

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.

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