wp-calypso icon indicating copy to clipboard operation
wp-calypso copied to clipboard

Tags: New tags disappear after they are entered in Gutenberg

Open jerrysarcastic opened this issue 4 years ago • 11 comments

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

  1. Open a new post in Gutenberg
  2. Add a new tag in the tags meta and the press the return/enter key
  3. Newly added tag disappears as if it was never typed in
  4. 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.

jerrysarcastic avatar Apr 19 '21 00:04 jerrysarcastic

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!

mrfoxtalbot avatar May 10 '21 08:05 mrfoxtalbot

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

sophiegyo avatar Nov 08 '21 07:11 sophiegyo

Could this be related? https://github.com/Automattic/wp-calypso/issues/62091

I may have another case here: 5417046-zd-woothemes

supernovia avatar Aug 03 '22 23:08 supernovia

Support References

This comment is automatically generated. Please do not edit it.

  • [ ] 4434735-zen
  • [ ] 5417046-zen
  • [ ] 5549166-zen

github-actions[bot] avatar Aug 03 '22 23:08 github-actions[bot]

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

supernovia avatar Sep 03 '22 22:09 supernovia

Could this be related? #5549166-zen

Seems to only be a problem for this customer when using the "Enter" key from the numeric keypad.

tanjoymor avatar Sep 17 '22 20:09 tanjoymor

I can confirm this is still a thing.

@Automattic/dotcom-pa-group can this be reviewed further?

Robertght avatar Nov 23 '22 13:11 Robertght

Another user report in 4138658-hc. Shared they can try adding tags via Quick Edit in wp-admin instead as a workaround.

kelasante avatar Dec 06 '22 21:12 kelasante

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!

cuemarie avatar Dec 06 '22 21:12 cuemarie

📌 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

cuemarie avatar Dec 20 '22 20:12 cuemarie

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.

github-actions[bot] avatar Jun 18 '25 12:06 github-actions[bot]