-
-
Notifications
You must be signed in to change notification settings - Fork 20
Description
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
- Are you reporting a bug? Use github issues for bug reports and feature requests. For general questions, please use https://discuss.yjs.dev/
- Try to report your issue in the correct repository. Yjs consists of many modules. When in doubt, report it to https://github.com/yjs/yjs/issues/
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:
- Go to: Demo
- Create 3 lines: the first one with any characters, the second one empty and the last one with any characters
- Open the same page in another tab and select the three lines
- 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
Environment Information
- Browser: Firefox 85.0.2 (64-bit)
- Yjs Versions: not apply (the problem is reproducible from the demo)
