[wp-trac] [WordPress Trac] #53924: Press escape to close Attachment details on media upload page

WordPress Trac noreply at wordpress.org
Thu Oct 28 16:06:34 UTC 2021


#53924: Press escape to close Attachment details on media upload page
------------------------------+----------------------------------------
 Reporter:  vondelphia        |       Owner:  joedolson
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  5.9
Component:  Media             |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  accessibility, javascript
------------------------------+----------------------------------------
Changes (by joedolson):

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


Comment:

 In [changeset:"51945" 51945]:
 {{{
 #!CommitTicketReference repository="" revision="51945"
 Media: Close attachment details modal with esc key.

 The event that fired closing the attachment details modal also removed the
 keydown event listener, so subsequent modals could not be closed with the
 escape key.

 Props vondelphia, sourovroy, sabernhardt
 Fixes #53924.
 }}}

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


More information about the wp-trac mailing list