Skip to content
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

Support alpha channel for color picker #6197

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

JoryHogeveen
Copy link
Member

Related GitHub issue(s)

Fixes #6118

Changelog text for these changes

PR checklist

@JoryHogeveen JoryHogeveen added Type: Enhancement Enhancements to features that already exist, but are not major additions Status: PR > Pending Code Review PR is pending code review by core developers Status: PR > QA pending QA needs to be done labels Oct 20, 2021
@JoryHogeveen JoryHogeveen added this to the Pods 2.8.1 milestone Oct 20, 2021
@JoryHogeveen JoryHogeveen self-assigned this Oct 20, 2021
@JoryHogeveen JoryHogeveen linked an issue Oct 20, 2021 that may be closed by this pull request
@@ -42,10 +43,20 @@ const Color = ( {
<ColorPicker
color={ value }
onChangeComplete={ ( newValue ) => {
setValue( newValue.hex );

newValue.hexa = newValue.hex;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sc0ttkclark @zrothauser
Maybe wrap this in an if statement: if ( ! newValue.hexa )?
It might be that WP will support this in the future.

@sc0ttkclark sc0ttkclark modified the milestones: Pods 2.8.1, Pods 2.9 Oct 20, 2021
Base automatically changed from release/2.8.1 to main October 20, 2021 23:55
@sc0ttkclark sc0ttkclark marked this pull request as draft July 25, 2022 14:42
@sc0ttkclark sc0ttkclark modified the milestones: Pods 2.9, Pods 3.0 Jul 27, 2022
@sc0ttkclark sc0ttkclark modified the milestones: Pods 3.0, Backlog Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: PR > Pending Code Review PR is pending code review by core developers Status: PR > QA pending QA needs to be done Type: Enhancement Enhancements to features that already exist, but are not major additions
Projects
Status: 📋 Backlog
Development

Successfully merging this pull request may close these issues.

Add support for opacity (alpha) on color field type
3 participants