[wp-trac] [WordPress Trac] #33220: Customizer: layout issues with autofocus'd sections on small screens

WordPress Trac noreply at wordpress.org
Wed Aug 5 19:30:22 UTC 2015


#33220: Customizer: layout issues with autofocus'd sections on small screens
--------------------------+--------------------------
 Reporter:  mattwiebe     |       Owner:  westonruter
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  4.3
Component:  Customize     |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  ui
--------------------------+--------------------------

Comment (by westonruter):

 @mattwiebe: Thanks! I can confirm this is working. In
 [attachment:33220.2.diff] I removed the newly-introduced `noScroll` param
 to `focus()` in favor of just fixing the behavior of focusing on an
 element, which was discovered in #33258 (`:focusable` seems to not be
 working right in jQuery UI). With a fixed `focus()` method this also means
 we can get rid of `scrollIntoView()` because focusing on an element will
 bring it into view automatically.

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


More information about the wp-trac mailing list