-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add: Transparency support on global styles colors #36840
Add: Transparency support on global styles colors #36840
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). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.