You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you change the value of one of the 3 RGB text fields, the background color of the color picker changes. However, the draggable circle in that top rectangular area of the color picker does not change its position to match the new color.
The text was updated successfully, but these errors were encountered:
This is also true for the base-color picker at the right (and maybe also alpha-picker?). The picker areas never get update by input (R,G,B and Hex) value changes and also not when opening up with a color pre-set.
Enabling this would really increase the usability. It may involve some calculations though to get the X and X Position from the colors RGB values. Having a fixed px size for the selection areas, like it is right now, it should be not too hard to implement.
One could argue that this is more a Feature than a Bug.
I already got it to work. I just had to change the gradients on the selection block a little bit to fit S and L values.
I would really consider pulling in https://www.npmjs.com/package/tinycolor2 and using it's color class to keep the current color. It supports parsing all kinds of color strings as well as converting them.
I think many feature implementations could very much profit of the convenience it offers.
When you change the value of one of the 3 RGB text fields, the background color of the color picker changes. However, the draggable circle in that top rectangular area of the color picker does not change its position to match the new color.
The text was updated successfully, but these errors were encountered: