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

FormTokenField: ADD NEW TAG is entered twice in Japanese #45599

Closed
xs-hito opened this issue Nov 8, 2022 · 3 comments · Fixed by #45607
Closed

FormTokenField: ADD NEW TAG is entered twice in Japanese #45599

xs-hito opened this issue Nov 8, 2022 · 3 comments · Fixed by #45607
Labels
[Package] Components /packages/components [Type] Bug An existing feature does not function as intended

Comments

@xs-hito
Copy link

xs-hito commented Nov 8, 2022

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.

スクリーンショット 2022-11-08 190328

WordPress 6.0

・Type in Japanese and press Enter Key for correct operation.

スクリーンショット 2022-11-08 190620

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

@xs-hito
Copy link
Author

xs-hito commented Nov 8, 2022

I believe it is related to this issue. #45496

@t-hamano t-hamano added [Type] Bug An existing feature does not function as intended [Package] Components /packages/components labels Nov 8, 2022
@t-hamano
Copy link
Contributor

t-hamano commented Nov 8, 2022

@ito-x

Thank you for your contribution.

As you mentioned, I believe the cause of this issue is similar to #45496. I have submitted a tracking issue (#45605) as this problem is occurring in several other components as well.

@t-hamano
Copy link
Contributor

t-hamano commented Nov 8, 2022

I believe this issue will be fixed by #45607.
I will also add it to the WP6.1 board as I think this is as big a bug as #45496.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] Components /packages/components [Type] Bug An existing feature does not function as intended
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants