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]: Deleting an Emoji/Mention causes editor to loose focus #5550

Open
1 task done
TheotimeColin opened this issue Aug 25, 2024 · 6 comments
Open
1 task done

[PRO]: Deleting an Emoji/Mention causes editor to loose focus #5550

TheotimeColin opened this issue Aug 25, 2024 · 6 comments
Labels
Category: Pro The issue or pull request is related to the pro packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug

Comments

@TheotimeColin
Copy link

Affected Packages

emojis, mentions

Version(s)

2.0.0

Description of the Bug

When deleting an Emoji or a Mention, I loose focus and the keyboard disappears, then reappears. This causes frequent misslicks as it moves the interface (see video attached).

Tested in an Android Chrome.

screen-20240825-023653.2.mp4

Browser Used

Chrome

Code Example (Preferred)

No response

Expected Behavior

Not losing focus when deleting nodes.

Additional Context (Optional)

No response

Dependency Updates

  • Yes, I've updated all my dependencies.
@TheotimeColin TheotimeColin added Category: Pro The issue or pull request is related to the pro packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug labels Aug 25, 2024
@nperez0111
Copy link
Contributor

Interesting, yea mobile support has always been difficult. We do have some kludges for mobile support & prosemirror is always working on making that better, but I didn't find anything here that we've added for this.

The emoji extension is a inline node so I wonder is this is an issue with others like it (maybe mentions?)

@TheotimeColin
Copy link
Author

Interesting, yea mobile support has always been difficult. We do have some kludges for mobile support & prosemirror is always working on making that better, but I didn't find anything here that we've added for this.

The emoji extension is a inline node so I wonder is this is an issue with others like it (maybe mentions?)

Yes, it does exactly the same with mentions!

@nperez0111
Copy link
Contributor

Well that narrows things down. I wonder whether this is problem with Tiptap or prosemirror (our base library).Maybe this example might be able to show us where the issue is? https://prosemirror.net/examples/dino/

@romansp
Copy link
Contributor

romansp commented Aug 27, 2024

May be related to #677.

@TheotimeColin
Copy link
Author

Well that narrows things down. I wonder whether this is problem with Tiptap or prosemirror (our base library).Maybe this example might be able to show us where the issue is? https://prosemirror.net/examples/dino/

I don't seem to have the issue on the example

@robert-barahona
Copy link

The same is happening for our team with mentions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Pro The issue or pull request is related to the pro packages of Tiptap. Type: Bug The issue or pullrequest is related to a bug
Projects
Status: Triage open
Development

No branches or pull requests

4 participants