-
Notifications
You must be signed in to change notification settings - Fork 55
fix(uui-color-picker): alpha should default to 100 if there is no color string #1061
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
Conversation
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.
I think @bjarnef has a point here and would like to get it investigated before merging.
Azure Static Web Apps: Your stage site is ready! Visit it here: https://delightful-beach-055ecb503-1061.westeurope.azurestaticapps.net |
Azure Static Web Apps: Your stage site is ready! Visit it here: https://delightful-beach-055ecb503-1061.westeurope.azurestaticapps.net |
…ected as this improves the UX
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://delightful-beach-055ecb503-1061.westeurope.azurestaticapps.net |
Adds checks to this.alpha
Description
Added a new check in to alpha to check if the value for the color picker is defined or not.
if the value is undefined, it will default the alpha to 100
Types of changes
Motivation and context
This is to improve the UX for when user is picking a new color
How to test?
Using the eye dropper color picker data type, when on a content node of the content tree, if you click on the round colour selection palette to change the colour, you will see that the default opacity is 100 now
Screenshots (if appropriate)
Checklist