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 opens its menu on blur in some cases #57085

Closed
anomiex opened this issue Dec 14, 2023 · 1 comment · Fixed by #57002
Closed

FormTokenField opens its menu on blur in some cases #57085

anomiex opened this issue Dec 14, 2023 · 1 comment · Fixed by #57002
Labels
[Type] Bug An existing feature does not function as intended

Comments

@anomiex
Copy link
Contributor

anomiex commented Dec 14, 2023

Description

When blurring the FormTokenField with __experimentalExpandOnFocus at its default value of false, the menu should not open when exiting the field.

Step-by-step reproduction instructions

  1. Go to https://wordpress.github.io/gutenberg/?path=/story/components-formtokenfield--async
  2. Type something in the input, then delete it.
  3. Click out of the field. Then possibly back in and out again.

Screenshots, screen recording, code snippet

video-2023-12-14_17.33.28.webm

Environment info

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, No

@anomiex anomiex added the [Type] Bug An existing feature does not function as intended label Dec 14, 2023
@anomiex anomiex changed the title FormTokenField opens it menu on blur in some cases Dec 14, 2023
@anomiex
Copy link
Contributor Author

anomiex commented Dec 14, 2023

Just found the PR #57002 which should fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Bug An existing feature does not function as intended
1 participant