[Bug]: Editor keeps obtaining focus when color input hex is edited with Japanese IME #3985
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
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?
Are you sponsoring us?
The text was updated successfully, but these errors were encountered: