Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.4k stars 1.98k forks source link

Tags: New tags disappear after they are entered in Gutenberg #52048

Open jerrysarcastic opened 3 years ago

jerrysarcastic commented 3 years ago

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.

mrfoxtalbot commented 3 years ago

Thank you for the report @jerrysarcastic

I seem to be unable to reproduce this. I tried the following:

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!

sophiegyo commented 2 years ago

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

supernovia commented 2 years ago

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

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

github-actions[bot] commented 2 years ago

Support References

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

supernovia commented 2 years ago

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

tanjoymor commented 2 years ago

Could this be related? #5549166-zen

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

Robertght commented 1 year ago

I can confirm this is still a thing.

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

kelasante commented 1 year ago

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

cuemarie commented 1 year ago

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 commented 1 year ago

πŸ“Œ SCRUBBING : RESULT

πŸ“Œ FINDINGS/SCREENSHOTS/VIDEO

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