Opened 8 years ago
Closed 8 years ago
#41625 closed defect (bug) (fixed)
Logic for detecting expanded Text and Media widgets is inconsistent/unreliable
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.9 | Priority: | normal |
| Severity: | normal | Version: | 4.8 |
| Component: | Widgets | Keywords: | has-patch |
| Focuses: | Cc: |
Description
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.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
In 41249: