[wp-trac] [WordPress Trac] #54022: wp-admin comment reply textarea deletes reply if Esc is hit

WordPress Trac noreply at wordpress.org
Fri Aug 27 05:30:34 UTC 2021


#54022: wp-admin comment reply textarea deletes reply if Esc is hit
----------------------------+-----------------------------
 Reporter:  Ste_95          |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  5.8
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 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.)

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54022>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list