[wp-trac] [WordPress Trac] #30251: Customizer inconsistent contextual behavior

WordPress Trac noreply at wordpress.org
Tue Nov 11 22:36:52 UTC 2014


#30251: Customizer inconsistent contextual behavior
------------------------------+-------------------------
 Reporter:  dgwyer            |       Owner:  ocean90
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.1
Component:  Customize         |     Version:  trunk
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  javascript
------------------------------+-------------------------
Changes (by ocean90):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"30307"]:
 {{{
 #!CommitTicketReference repository="" revision="30307"
 Customizer: Use `jQuery.fn.toggle()` instead of `slideUp`/`slideDown` if
 panel/section/control is not inserted into DOM yet.

 jQuery does nothing when calling `slideUp` on elements that are not
 inserted into the DOM yet, which can now be the case now when first
 loading the Customizer as the panels, sections and controls get
 dynamically inserted, see #28709.

 props westonruter.
 fixes #30251.
 }}}

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


More information about the wp-trac mailing list