[wp-trac] [WordPress Trac] #37471: Customizer: Widgets: If your theme only has one widget area, we should open it automatically

WordPress Trac noreply at wordpress.org
Wed Apr 5 06:21:44 UTC 2017


#37471: Customizer: Widgets: If your theme only has one widget area, we should open
it automatically
-------------------------------------------------+-------------------------
 Reporter:  melchoyce                            |       Owner:
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  4.7.4
Component:  Customize                            |     Version:  4.0
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots needs-testing        |     Focuses:  ui,
  needs-patch                                    |  administration
-------------------------------------------------+-------------------------
Changes (by westonruter):

 * keywords:  has-screenshots has-patch needs-testing => has-screenshots
     needs-testing needs-patch


Comment:

 [attachment:37471.1.diff] implements the change to only auto-expand a
 solitary section when it is active. However, there is an issue I'm seeing
 when when opening the customizer with autofocus on the `widgets` panel
 when there is only one widget area section but it is not active: the
 contents of the panel are shifted over halfway out of view due apparently
 to some issue with animations and transforms. See [attachment:widgets-
 panel-autofocus-issue.png]. Help appreciated.

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


More information about the wp-trac mailing list