[wp-trac] [WordPress Trac] #50508: Customize: Widgets appear "inactive" by default
WordPress Trac
noreply at wordpress.org
Mon Jun 29 13:44:49 UTC 2020
#50508: Customize: Widgets appear "inactive" by default
--------------------------+-----------------------------
Reporter: afercia | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.5
Component: Customize | Version: trunk
Severity: normal | Keywords: has-screenshots
Focuses: javascript |
--------------------------+-----------------------------
This appear to be a regression in trunk. I was able to reproduce on two
different machines.
- latest trunk
- no plugins active, Twenty Twenty theme
- make sure there are some Widgets added in the theme's widget areas
- go to the Customizer > Widgets > one of the widget areas e.g. the Twenty
Twenty "Footer 1"
- observe all the Widgets listed in the left sidebar look "inactive" their
container gets a CSS `opacity: 0.5`
- observe it happens also in "reorder mode"
- all widget boxes are fully functional, they just appear "inactive"
because of the opacity - they also have an insufficient color contrast
- compare with latest WordPress stable, where the listed widgets don't get
the opacity
- to my understanding, the opacity should only be set on the widgets that
are _not_ rendered
- something wrong appears to happen with the `widget-rendered` class,
which isn't applied
See attached screenshot, from left to right:
- trunk: widgets list normal mode
- trunk: widgets list "reorder" mode
- 5.4: widgets list normal mode
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50508>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list