FormTokenField: ADD NEW TAG is entered twice in Japanese #45599
Labels
[Package] Components
/packages/components
[Type] Bug
An existing feature does not function as intended
Description
In WordPress 6.1, when I type Japanese in ADD NEW TAG on the editor screen and press Enter, Japanese is typed twice.
In WordPress 6.0, Japanese is entered only once and works correctly.
When entering characters in Japanese language ( including Kanji), after entering "Hiragana", select which character to convert to and press Enter to confirm.
I would expect the same problem in other languages that perform the same operation.
Step-by-step reproduction instructions
I expect users to use a Japanese keyboard.
1.On the editor screen. type
あああ
in the ADD NEW TAG input.2.Confirm that a character is unintentionally typed twice when the enter key is pressed.
Screenshots, screen recording, code snippet
WordPress 6.1
・Type in Japanese and press Enter key unintentionally types the word twice.
WordPress 6.0
・Type in Japanese and press Enter Key for correct operation.
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: