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

[PRO]: navigating through paragraphs using key up or down while mention is on the beginning of the row moves cursor behind mention #3990

Open
2 tasks done
ajdinproho opened this issue Apr 27, 2023 · 2 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

@ajdinproho
Copy link

ajdinproho commented Apr 27, 2023

Which packages did you experience the bug in?

core, extension-mention

What Tiptap version are you using?

2.0.3

What’s the bug you are facing?

When the mention is at the beginning of the paragraph and you're moving cursor by pressing key up or down while cursor is at the beginning of the paragraph, cursor moves behind the mention instead of moving in front of the mention
The bug is happening in Chrome, Firefox, Edge and Safari.

mentions cursor first row

What browser are you using?

Chrome

Code example

No response

What did you expect to happen?

The expected behaviour is that the cursor should move in front of the mention.

Anything to add? (optional)

No response

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. 💖
@ajdinproho ajdinproho 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 27, 2023
@aldinezi
Copy link
Contributor

aldinezi commented Apr 27, 2023

As a Pro Tiptap user, I can confirm this behavior is affecting me too.

@davidhasovic
Copy link

Mee too.

@ajdinproho ajdinproho changed the title [Bug]: navigating through paragraphs using key up or down while mention is on the beginning of the row moves cursor behind mention [PRO]: navigating through paragraphs using key up or down while mention is on the beginning of the row moves cursor behind mention Aug 3, 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

5 participants