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

WordPress Trac noreply at wordpress.org
Sun Oct 25 01:40:05 UTC 2015


#34436: Issue with wp.customizer.panel('name').focus().
--------------------------+-----------------------------
 Reporter:  wpweaver      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Customize     |    Version:  4.3.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 This is a small bug (feature?) when using wp.customizer.panel('panel-
 name').focus().

 If you have a Section open (the options being displayed),
 wp.customizer.panel('parent-of-that-section').focus(); will not switch
 focus from the section display to the parent panel. Using
 wp.customizer.panel('any-other-panel').focus(); works.

 My new theme interface builds an auxiliary menu to more easily navigate
 all the panels and sections, and it all works nicely except this case.

 I can provide a beta of my theme that demos this if needed. This is likely
 not really critical, but it does not work as one would expect. This issue
 manifests in both 4.3.1 and 4.4 beta 1.

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


More information about the wp-trac mailing list