[wp-trac] [WordPress Trac] #62346: "Close comment reply form on Escape" feature causes accidental sabotage

WordPress Trac noreply at wordpress.org
Sat Dec 14 01:30:22 UTC 2024


#62346: "Close comment reply form on Escape" feature causes accidental sabotage
-------------------------+-------------------------------------------------
 Reporter:               |       Owner:  joedolson
  yellowafterlife        |
     Type:  defect       |      Status:  closed
  (bug)                  |
 Priority:  normal       |   Milestone:  6.8
Component:  Comments     |     Version:  6.6.2
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:  ui, accessibility, javascript,
  commit                 |  administration
-------------------------+-------------------------------------------------
Changes (by joedolson):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"59514" 59514]:
 {{{
 #!CommitTicketReference repository="" revision="59514"
 Comments: Avoid reverting comment reply when context menu is open.

 Fix a bug where a comment reply would be discarded if `esc` was pressed to
 dismiss the context menu in Safari or Firefox.

 Checks whether the contextmenu is open and ignores the `esc` key if it is.

 Props yellowafterlife, yogeshbhutkar, joedolson.
 Fixes #62346.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62346#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list