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

Fix: Slider inside the ColorPicker did not budge if present color is set to 'Black' #39

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Hyungeol94
Copy link

@Hyungeol94 Hyungeol94 commented Aug 30, 2023

When the present color was set to "Black," there was a bug in the ColorPicker component that prevented the slider from moving.

If the onChange is called, an alpha value, which is a hsv color type, needs to be injected into the ColorPicker component. This necessity is reflected in the modified version.

I really hope this works.

@fmeringdal
Copy link
Owner

Hey @Hyungeol94 , thanks for the MR. What exactly is the error? Does the slider never work or only when you explicitly set the color to black does it stop working?

@Hyungeol94
Copy link
Author

Hello @fmeringdal. It happened only for the latter case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants