[wp-trac] [WordPress Trac] #41625: Logic for detecting expanded Text and Media widgets is inconsistent/unreliable

WordPress Trac noreply at wordpress.org
Sun Aug 13 06:15:22 UTC 2017


#41625: Logic for detecting expanded Text and Media widgets is
inconsistent/unreliable
--------------------------+-----------------
 Reporter:  westonruter   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  4.9
Component:  Widgets       |    Version:  4.8
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------
 The Text widget and Media widgets in 4.8 defer to initialize their JS
 fields until the widget fully expands since the JS logic needs the
 element's dimensions to be finalized to initialize properly. The current
 logic for detecting the completion of the animation is faulty in that it
 is looking at the wrong element for the `:animated` pseudo-class and it
 also should be using the `open` class instead, the latter which is not
 properly getting set for widgets in the Customizer.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41625>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list