You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After mentioning another user on the site, the focus is captured by the autocompleter, preventing the Enter/Return key from creating a line break.
This was introduced in a recent PR updating the Autocomplete component.
Step-by-step reproduction instructions
Make sure the stie you're testing on has at least one other registered user besides yourself.
Open the block editor and begin typing into a paragraph block. In the first line of text, type @ to initiate a user mention
Enter part of another user's username, and press Enter/Return to select for autocompletion
Press space and enter some more text, then hit Enter/Return
The next after the user mention is removed, and a new line isn't created. The Autocomplete component is still engaged, and it trims the "extra" text to match/complete the username you selected.
Screenshots, screen recording, code snippet
No response
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:
The PR introducing this issue has been reverted (##41820) and will land in the v13.5 release next week, so I'm closing this for now. I'll be taking another pass at that refactor in the future and will keep this regression in mind to avoid it going forward!
Description
After mentioning another user on the site, the focus is captured by the autocompleter, preventing the
Enter/Return
key from creating a line break.This was introduced in a recent PR updating the
Autocomplete
component.Step-by-step reproduction instructions
@
to initiate a user mentionEnter/Return
to select for autocompletionEnter/Return
The next after the user mention is removed, and a new line isn't created. The
Autocomplete
component is still engaged, and it trims the "extra" text to match/complete the username you selected.Screenshots, screen recording, code snippet
No response
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: