Add: Transparency support on global styles colors#36840
Add: Transparency support on global styles colors#36840jorgefilipecosta merged 1 commit intotrunkfrom
Conversation
|
Size Change: +23 B (0%) Total Size: 1.1 MB
ℹ️ View Unchanged
|
|
Tested in Chrome version 96.0.4664.45 on Windows 10: I can see the opacity option, but if I move the cursor over the larger field where I can select a new color, the entire browser window freezes and I can not mouse click on anything or navigate away. In Firefox I managed a little better: I was able to change the color twice before it crashed... |
|
I've tested this in Firefox and Chrome (Ubuntu, Linux-based OS) and it worked fine for me. In the site editor, I can see that the transparency is enabled for all element colors (both global & per block) and it isn't enabled in the block inspector. It isn't enabled either in the post editor (block inspector). |
oandregal
left a comment
There was a problem hiding this comment.
Code looks fine.
We may need to investigate further into the issue Carolina reported during the beta cycle. It may be a specific combination of OS + browser or browser version.
|
Thank you for reviewing this PR @oandregal! Thank you for reporting the issue @carolinan we will try to understand what's happening. I'm not able to replicate the crash yet maybe as @oandregal said it just happens on a specific OS. |

Fix: #36774
This PR does the following actions:
How has this been tested?
I went to the global styles sidebar. I verified I could pick a color with transparency for the global background, text, and link color.