[wp-trac] [WordPress Trac] #40909: Focus in attachment custom fields is lost when updating the value.

WordPress Trac noreply at wordpress.org
Wed Feb 8 19:39:06 UTC 2023


#40909: Focus in attachment custom fields is lost when updating the value.
------------------------------+----------------------------------------
 Reporter:  lucymtc           |       Owner:  joedolson
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  6.2
Component:  Media             |     Version:  4.7.5
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  accessibility, javascript
------------------------------+----------------------------------------
Changes (by joedolson):

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


Comment:

 In [changeset:"55299" 55299]:
 {{{
 #!CommitTicketReference repository="" revision="55299"
 Media: Fix focus loss updating custom fields in media modal.

 When the save action runs to dynamically save changes to custom fields in
 the media modal, the custom fields container is re-rendered, losing focus.
 Remove the re-rendering of custom fields to prevent loss of focus.

 Props lucymtc, teebee, syhc, afrin29, antpb, joedolson.
 Fixes #40909.
 }}}

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


More information about the wp-trac mailing list