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

weird collaborator's cursor behavior #1

Open
crapthings opened this issue Sep 3, 2019 · 1 comment
Open

weird collaborator's cursor behavior #1

crapthings opened this issue Sep 3, 2019 · 1 comment

Comments

@crapthings
Copy link

crapthings commented Sep 3, 2019

https://streamable.com/hy8xf

its not sync

and the other user's cursor always on start of text

@crapthings
Copy link
Author

https://github.com/y-js/y-quill/blob/master/src/y-quill.js#L42

image

const anchor = Y.createAbsolutePositionFromRelativePosition(Y.createRelativePositionFromJSON(aw.cursor.anchor), doc)
const head = Y.createAbsolutePositionFromRelativePosition(Y.createRelativePositionFromJSON(aw.cursor.head), doc)

collaborator's cursor index is always 0

TJackwood-Jasper referenced this issue in gojasper/y-quill Jun 28, 2022
[Issue yjs#14] Prevent _quillObserver from updating awareness states on …
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant