-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
A clear and concise description of what the bug is.
The content is different under different operating systems. It seems that user under Win10 can see only a single new line when user under mac enter two new lines. Bug also appears after the syntax completion, see section below on how to reproduce. After some testing, the content under mac is the same as the content under Android and iOS, just different from the content under win10 and no matter which browser or computer we use.
To Reproduce
Steps to reproduce the behavior:
- Open https://demos.yjs.dev/monaco/monaco.html under both windows and mac system
- Under windows: Type "Text from Windows" then click "Ender" button (new line)
- Under Mac: Click "Enter" button (new line) then type "Text from Mac"
- The content is different
- Clear all the content
- Under windows, enter something like "bbb" then enter a new line
- Start from the new line, enter "aaa" and click tab to accept the syntax completion (aaa -> AudioParam)
- You can see the difference, on Mac it's "aAudioParam" but on Win10 it's "AudioParam"
Expected behavior
A clear and concise description of what you expected to happen.
The content on both end should look the same.
Screenshots
If applicable, add screenshots to help explain your problem.
Screen shot from Windows:


Environment Information
-
Browser / Node.js [e.g. Chrome, Firefox, Node.js]
Chrome 87.0.4280.88 on both win10 and Mac -
Yjs version and the versions of the y-* modules you are using [e.g. yjs v13.0.1, y-webrtc v1.2.1]. Use
npm ls yjsto find out the exact version you are using.
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
Additional context
Add any other context about the problem here.

