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

Awareness only includes first selection when there are multiple selections #18

Open
2 tasks done
TheUnlocked opened this issue Feb 2, 2023 · 1 comment
Open
2 tasks done
Assignees
Labels
bug Something isn't working

Comments

@TheUnlocked
Copy link

Checklist

Describe the bug
When a user has multiple selections, only one of the selections is included in the user's awareness, and only that one receives the CSS class decorations on other clients.

To Reproduce
Steps to reproduce the behavior:

  1. Make multiple selections (e.g. middle click drag, alt click)
  2. Attempt to view those selections from another client

Expected behavior
A user's awareness should include all of their selections, and all of a user's selections should be decorated.

Screenshots

image
image

Environment Information

  • Chrome 109
  • yjs 13.5.44
  • y-monaco 0.1.4
  • y-protocols 1.0.5
@TheUnlocked TheUnlocked added the bug Something isn't working label Feb 2, 2023
@guanboo-yang
Copy link

Any updates or where I might find a way to solve this problem?

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

3 participants