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: |
|
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)
Change History (2)
Note: See
TracTickets for help on using
tickets.
Hi there, welcome back to WordPress Trac!
Thanks for the report, we're already tracking this issue in #30979.