Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#54022 closed defect (bug) (duplicate)

wp-admin comment reply textarea deletes reply if Esc is hit

Reported by: Ste_95 Owned by:
Priority: normal Milestone:
Component: Comments Version: 5.8
Severity: normal Keywords:
Cc: Focuses: ui, administration

Description

When replying to a comment from wp-admin, if Esc is pressed while the focus is on the textarea, the form vanishes. One would expect the form to have only been hidden, and that another click on "Reply" would show again the text already written. That is not so, as previous content is erased when the textarea vanishes.

Suggestions:
Either ask for confirmation before removing the textarea, or hide it only (retaining the text). I vote for the first option so that there's no risk of the page becoming heavy without need.

(Note: The screencast was not taken with WP 5.8, but I do have tested the issue to be there with WP 5.8 as well.)

Attachments (1)

wp-comment.gif (318.0 KB ) - added by Ste_95 5 years ago.

Download all attachments as: .zip

Change History (2)

@Ste_95
5 years ago

#1 @SergeyBiryukov
5 years ago

  • Component AdministrationComments
  • Focuses ui administration added
  • Milestone Awaiting Review
  • Resolutionduplicate
  • Status newclosed

Hi there, welcome back to WordPress Trac!

Thanks for the report, we're already tracking this issue in #30979.

Note: See TracTickets for help on using tickets.