-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Autocomplete: Clicking to insert item does nothing when inside a table cell #50562
Comments
Sorry, I can't replicate this. I've tested this in WordPress 6.3 (no plugins) and with Gutenberg trunk activated. I tested using keyboard and mouse, on a local installation of WordPress and also over at https://wordpress.org/gutenberg/ Tested using Firefox 113 and Chrome 112 I would expect https://wordpress.org/gutenberg/ to perhaps not work for this functionality, given that it's a public, erasable instance of Gutenberg, but it seems to regardless 🤷 Are there any more information or test steps that might help to confirm? |
The problem exists for me at https://wordpress.org/gutenberg/ too. If I use the keyboard the name is inserted. If I use the mouse then nothing happens. There's no real other steps outside of what is listed above - create a 2x2 table, type |
@ramonjd Thanks for the quick response! I noticed in your first screenrecording, the mentions were inserted by using arrow keys + Enter, instead of clicking one of the dropdown items with the mouse. In the second screenrecording, it's interesting that clicking to insert I first discovered this issue on a P2 blog, while authoring a post in |
I did try both, just happened to record when I was randomly bashing my keyboard 🤣
I added users to a site to test so in that sense, they were test users, but no "mock". All the users I created I was able to add.
This is strange. I don't have an explanation, sorry! cc @youknowriad, who I believe wrote the autocomplete component, just in case he has any quick insights 🙇 |
Help us move this issue forward. This issue is being marked stale since it has no activity after 15 days of requesting more information. Please add info requested so we can help move the issue forward. Note: The triage policy is to close stale issues that need more info and no response after 2 weeks. |
I'm not sure what other information I can provide 😕 I can confirm it's still happening for me. I'm inclined to think this issue comes from the wp components autocomplete package, rather than the specific user autocomplete component (linked in the previous comment), since it happens with the tag autocomplete too. |
Help us move this issue forward. This issue is being marked stale since it has no activity after 15 days of requesting more information. Please add info requested so we can help move the issue forward. Note: The triage policy is to close stale issues that need more info and no response after 2 weeks. |
I can reproduce, added to my list. |
Description
When the autocomplete dropdown is opened inside a table cell, clicking on one of the items inside the dropdown does not insert the item. It also doesn't close the dropdown, but I can no longer navigate the dropdown with my keyboard either.
Step-by-step reproduction instructions
@
to begin inserting a mention. The autocomplete dropdown will open with two users shown.Screenshots, screen recording, code snippet
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
The text was updated successfully, but these errors were encountered: