Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#54022 closed defect (bug) (duplicate)

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

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

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 3 years ago.

Download all attachments as: .zip

Change History (2)

@Ste_95
3 years ago

#1 @SergeyBiryukov
3 years ago

  • Component changed from Administration to Comments
  • Focuses ui administration added
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

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.