[wp-trac] [WordPress Trac] #36050: Customizer: gap above widget section when focusing from preview shift+click

WordPress Trac noreply at wordpress.org
Wed Mar 2 18:16:54 UTC 2016


#36050: Customizer: gap above widget section when focusing from preview shift+click
---------------------------------------+------------------------------
 Reporter:  mattwiebe                  |       Owner:
     Type:  defect (bug)               |      Status:  new
 Priority:  normal                     |   Milestone:  Awaiting Review
Component:  Customize                  |     Version:  4.4
 Severity:  normal                     |  Resolution:
 Keywords:  has-patch has-screenshots  |     Focuses:  ui
---------------------------------------+------------------------------
Changes (by mattwiebe):

 * keywords:   => has-patch has-screenshots


Comment:

 All the diff does is move `section._recalculateTopMargin()` into a
 `setTimeout` call with a `0`ms timeout to bump it to the top of the call
 stack, since it's otherwise making calculations based on not quite current
 layout.

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


More information about the wp-trac mailing list