-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
ColorPicker Bottom Shade Adjuster Resets Color to White #4208
Comments
Hello zateutsch, thank you for opening an issue with us! I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌 |
Thanks @zateutsch, I had mentioned this to @robloo before during the initial review. I don't think the memory tracking is on his feature board in #3643, so good to have an issue tracking it. Putting out to next milestone for now. |
Yea, this was called out before. Thanks for pointing this out in real-world usage. I did initially think this needs to be fixed by remembering the last color before white. However, just operating in HSV should be enough (and a lot easier / more elegant). The Hue doesn't change in the bottom preview and accent colors area (it behaves just like a Value-channel slider with 5 discrete steps). This means the information is preserved if only HSV was being used instead of RBG. I will have to change the converter to operate in HSV and this could be a larger tear up in this area. But all this information is internal to the ColorPicker anyway. Bottom line: It should be fixable without remembering the color: Just switching from RGB to HSV color representation should be enough. |
This was fixed in an internal version of the control.
It's only a matter of copying over the code so it shouldn't be too much trouble to fix. |
Fixed in #4502 |
Describe the bug
Using the bottom shade adjuster while on the darkest shade resets the selected color to white.
Steps to Reproduce
Steps to reproduce the behavior:
Expected behavior
Updating to lighter shade using the bottom control maintains the latest used color, instead of reverting to white.
Screenshots
The text was updated successfully, but these errors were encountered: