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

[Bug]: Selection stops working when starting a selection from same position as a collaborative cursor #3994

Open
2 tasks done
thomasdeanwhite-papermill opened this issue Apr 28, 2023 · 0 comments
Labels
Category: Open Source The issue or pull reuqest is related to the open source packages of Tiptap. Triage: Open A new issue or pullrequest that requires triage (added by default) Type: Bug The issue or pullrequest is related to a bug

Comments

@thomasdeanwhite-papermill
Copy link

thomasdeanwhite-papermill commented Apr 28, 2023

Which packages did you experience the bug in?

collab-cursor

What Tiptap version are you using?

2.0.0-beta-220

What’s the bug you are facing?

When starting a selection from the exact position that a collaboration cursor takes, no selection appears but the cursor moves. The easiest way to replicate this is:

  • Go to https://tiptap.dev/api/extensions/collaboration-cursor in two tabs and make sure you're on the same document
  • Write a line of text in tab 1, place cursor at the end of the line
  • Switch to tab 2 and try to select the same line of text with the mouse, beginning at the end of the sentence and dragging to the left

Expected: I should select the line of text
Actual: No selection occurs but the cursor moves along with the mouse drag

What browser are you using?

Chrome

Code example

No response

What did you expect to happen?

Text to be selected like normal

Anything to add? (optional)

Screen.Recording.2023-04-28.at.10.13.59.mov

Did you update your dependencies?

  • Yes, I’ve updated my dependencies to use the latest version of all packages.

Are you sponsoring us?

  • Yes, I’m a sponsor. 💖
@thomasdeanwhite-papermill thomasdeanwhite-papermill added Category: Open Source The issue or pull reuqest is related to the open source packages of Tiptap. Triage: Open A new issue or pullrequest that requires triage (added by default) Type: Bug The issue or pullrequest is related to a bug labels Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Open Source The issue or pull reuqest is related to the open source packages of Tiptap. Triage: Open A new issue or pullrequest that requires triage (added by default) Type: Bug The issue or pullrequest is related to a bug
Projects
Status: Triage open
Development

No branches or pull requests

3 participants