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

WordPress Trac noreply at wordpress.org
Sun May 1 22:13:42 UTC 2016


#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        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------------------
Changes (by celloexpressions):

 * keywords:   => needs-patch


Comment:

 Essentially, the issue here is that focus() doesn't work to move from a
 section to its parent panel. That should be a case we can fix, if someone
 can dig into that code.

 It sounds like for your use case it may be more appropriate to use
 section|panel.expand()/collapse() directly. But I think we should be able
 to add a check to focus out of a section to a parent panel.

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


More information about the wp-trac mailing list