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

The color picker component doesn't seem to honor the initial opacity value #869

Closed
ghost opened this issue Aug 24, 2022 · 2 comments
Closed
Assignees
Labels
bug Things that aren't working right in the library.

Comments

@ghost
Copy link

ghost commented Aug 24, 2022

Describe the bug

<sl-color-picker opacity value="#00000000" /> -- expected transparent checker but shows black
<sl-color-picker opacity value="rgba(0,0,0,0)" /> -- expected transparent checker but shows black
<sl-color-picker opacity value="rgba(255,0,0,0.5)" /> -- expected transparent red but shows red

@ghost ghost added the bug Things that aren't working right in the library. label Aug 24, 2022
@ghost ghost assigned claviska Aug 24, 2022
claviska added a commit that referenced this issue Aug 25, 2022
@claviska
Copy link
Member

Thanks for reporting this! I've fixed it in dfdd7c7 and added a test in 23b2f93.

@ghost
Copy link
Author

ghost commented Aug 25, 2022

Thanks for taking care of this. Will check it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Things that aren't working right in the library.
Projects
None yet
Development

No branches or pull requests

1 participant