Tags: New tags disappear after they are entered in Gutenberg
When adding multiple tags to a new post, the option is given to either add a comma before entering the next tag, or clicking the return/enter key on the keyboard.
Oddly, when using the enter key to move from a just added tag so that a new one can be added, the first tag disappears. It will reappear if you hit the enter key a second time, but the behavior is confusing to users, as reported here: https://wordpress.com/forums/topic/cant-add-new-tags/
Steps to reproduce the behavior
- Open a new post in Gutenberg
- Add a new tag in the tags meta and the press the return/enter key
- Newly added tag disappears as if it was never typed in
- Pressing the enter key a second time causes the tag to reappear, and then subsequent tags can be added
What I expected to happen
Pressing enter on the keyboard should move the cursor over so additional tags can be added.
Note
This does not seem to happen if you type in an existing tag, but is an issue only with new tags that are being typed in for the first time.
Browser / OS version
MacOS 10.15.4 Chrome 89.0.4389.128 (Official Build) (x86_64)
Video
Behaviour is hard to explain so I recorded the issue here: https://d.pr/v/ZuVoUf
First press of the Enter key causes the new tag to disappear. Second press of the keyboard causes it to reappear.
Thank you for the report @jerrysarcastic
I seem to be unable to reproduce this. I tried the following:
- Simple site & self-hosted site.
- Self-hosted site with and without the Gutenberg plugin.
- Chrome & Safari
Could you share more details to see if we can reproduce it? Was this an AT site? Could you share a direct link?
Thank you!
I was also not able to replicate this, but we had a similar report in 4434735-zen except there, the tags are reported to disappear on saving/publishing the post.
This browser info was provided: https://whatismybrowser.com/w/8YDRTNM
Could this be related? https://github.com/Automattic/wp-calypso/issues/62091
I may have another case here: 5417046-zd-woothemes
Support References
This comment is automatically generated. Please do not edit it.
- [ ] 4434735-zen
- [ ] 5417046-zen
- [ ] 5549166-zen
Oh my goodness. I finally saw this in Firefox today. Is this what users are seeing?
https://user-images.githubusercontent.com/3476361/188289268-d3701bf4-a19d-4429-9331-d0bf1036d247.mov
Could this be related? #5549166-zen
Seems to only be a problem for this customer when using the "Enter" key from the numeric keypad.
I can confirm this is still a thing.
@Automattic/dotcom-pa-group can this be reviewed further?
Another user report in 4138658-hc. Shared they can try adding tags via Quick Edit in wp-admin instead as a workaround.
Thanks for the ping @Robertght ! PA group is on hold with triaging in order to help with p7DVsv-fOQ-p2#comment-43167
Once we're back to regularly scheduled activities, we'll work on getting this triaged!
📌 SCRUBBING : RESULT
- Tested on Simple: Replicated
- Tested on AT: Not Replicated / Uncertain
- Tested on Self-hosted: Not Replicated / Uncertain
📌 FINDINGS/SCREENSHOTS/VIDEO
- In my tests, the simple test site reproduced this issue the clearest. AT and SH sites' tags promptly appeared in the tags field, and only momentarily rearranged occasionally. Simple, however, had tags go missing and need to be re-added.
Examples:
AT Site
https://user-images.githubusercontent.com/27249804/208759244-f0e03558-ba6b-42dd-8f4c-79c1ce67724f.mp4
Simple Site
https://user-images.githubusercontent.com/27249804/208759235-ecbce4cd-3557-4fc4-b6f5-dce4d8168c42.mp4
Self-Hosted Site
https://user-images.githubusercontent.com/27249804/208759254-e9f14e8f-2a02-4841-8563-bc2f62e9196c.mp4
📌 ACTIONS
- Marked as Triaged for Quality Squad review
This issue is stale because 180 days have passed with no activity. If you would like this issue to remain open, please provide additional context, updated reproduction steps and/or screenshots.
If the issue is not updated in another month, it will be automatically closed.