Skip to content

Remote Cursor Selection (Line selection Error in Firefox) #16

@kutiny

Description

@kutiny

Please save me some time and use the following template. In 90% of all issues I can't reproduce the problem because I don't know what exactly you are doing, in which environment, or which y-* version is responsible. Just use the following template even if you think the problem is obvious.

Checklist

Describe the bug
The bug that I am reporting is currently only in firefox (I tested it in chrome and it is working as expected).
When a remote user selects more than one line and the selection has "blank lines" (no characters in it) this specific line disappears in the remote editor (line superposition).

To Reproduce
Steps to reproduce the behavior:

  1. Go to: Demo
  2. Create 3 lines: the first one with any characters, the second one empty and the last one with any characters
  3. Open the same page in another tab and select the three lines
  4. In the first tab you will see that the second line has disappeared in the remote selection

Expected behavior
A clear and concise description of what you expected to happen.
The blank line must keep in its place and not over the previous (or the next) line

Screenshots
Image

Environment Information

  • Browser: Firefox 85.0.2 (64-bit)
  • Yjs Versions: not apply (the problem is reproducible from the demo)

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