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]: Editor keeps obtaining focus when color input hex is edited with Japanese IME #3985

Open
1 of 2 tasks
umutto opened this issue Apr 26, 2023 · 0 comments
Open
1 of 2 tasks
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

@umutto
Copy link

umutto commented Apr 26, 2023

Which packages did you experience the bug in?

core, extension-color

What Tiptap version are you using?

2.0.3

What’s the bug you are facing?

When changing the color using the color extension and typing with Japanese IME into the hex value of the input, editor keeps capturing focus after a single keystroke. This phenomenon can be reproduce on the tiptap color extension demo page (https://tiptap.dev/api/extensions/color).
I think it is much easier to understand with a video, so I'll link it below.

I don't think it is high priority or anything. Just wanted to share. Thanks!

What browser are you using?

Chrome

Code example

https://tiptap.dev/api/extensions/color

What did you expect to happen?

Inputs should be able continuously entered into the color input. Editor should not obtain the focus unless user explicitly wants to. This works fine with regular HTML color input. (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/color)

Anything to add? (optional)

2023-04-26.17-53-14-1.webm

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. 💖
@umutto umutto 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 26, 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