-
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
ColorPalette: enable alpha channel #4726
Labels
Customization
Issues related to Phase 2: Customization efforts
Good First Issue
An issue that's suitable for someone looking to contribute for the first time
Needs Dev
Ready for, and needs developer efforts
[Type] Enhancement
A suggestion for improvement.
Milestone
Comments
On one hand I like the simplicity we have now, but I can see how this could be useful for some. I think it's potentially good to offer, thanks for suggesting. |
@karmatosed, simplicity is good for default blocks, don't need to enable alpha for it. Just give an option to enable it in custom blocks. Waiting for this option :) |
3 tasks
mtias
added
Future
Customization
Issues related to Phase 2: Customization efforts
and removed
Future
labels
Oct 7, 2018
4 tasks
gziolo
added
Good First Issue
An issue that's suitable for someone looking to contribute for the first time
Needs Dev
Ready for, and needs developer efforts
labels
Apr 24, 2019
5 tasks
mkaz
added a commit
that referenced
this issue
Oct 30, 2019
* Add disableAlpha parameter to ColorPalette Adds the disableAlpha parameter to ColorPalette component which is passed forward to the ColorPicker to show. Previously it was set to true by default. Fixes #4726 * Update documentation with disableAlpha parameter
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Customization
Issues related to Phase 2: Customization efforts
Good First Issue
An issue that's suitable for someone looking to contribute for the first time
Needs Dev
Ready for, and needs developer efforts
[Type] Enhancement
A suggestion for improvement.
Issue Overview
The Color Palette block restricts the alpha editing for colors. It will be very useful to make the attribute to enable/disable alpha while it is just the one parameter on React Color.
Expected Behavior
The simple attribute passed on the block creation.
<ColorPalette disableAlpha={ false } />
Current Behavior
At the moment, the alpha is restricted in ChromePicker creation in the block.
<ChromePicker color={ value } onChangeComplete={ ( color ) => onChange( color.hex ) } style={ { width: '100%' } } **disableAlpha** />
Screenshots
Used to be.
The text was updated successfully, but these errors were encountered: