[wp-trac] [WordPress Trac] #34436: Issue with wp.customizer.panel('name').focus().

WordPress Trac noreply at wordpress.org
Wed Nov 3 15:05:11 UTC 2021


#34436: Issue with wp.customizer.panel('name').focus().
------------------------------+-----------------------------
 Reporter:  wpweaver          |       Owner:  hellofromTonya
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  5.9
Component:  Customize         |     Version:  4.3.1
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  javascript
------------------------------+-----------------------------
Changes (by hellofromTonya):

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


Comment:

 In [changeset:"52003" 52003]:
 {{{
 #!CommitTicketReference repository="" revision="52003"
 Customize: Fix `focus()` to collapse child panels and show parent panel.

 When a child panel is open, `wp.customize.panel('parent_panel').focus()`
 (e.g. `'parent_parent'` might be `'nav_menus'`) collapses the child
 panel(s) to show the parent panel.

 Follow-up to [30102], [31920], [38648].

 Props celloexpressions, costdev, dlh, hareesh-pillai, hellofromTonya,
 westonruter, wpweaver.
 Fixes #34436.
 }}}

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


More information about the wp-trac mailing list