Color picker background color is dependent on the currently selected color not the current hue #4441
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
There is no guarantee in receiving a response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeNG PRO Support where support is provided within 4 business hours
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
No need for a plunkr, issue is present on color picker documentation:
https://www.primefaces.org/primeng/#/colorpicker
Current behavior
The color selector background-color is dependent on the currently selected color instead of the currently selected hue. This is most evident when the color bubble is on the left side of the color selector. This results in the color selector showing false values:
Expected behavior
The color selector's background color should always be dependent on the color value in the hue selector.
Minimal reproduction of the problem with instructions
Go to the documentation site for the color picker https://www.primefaces.org/primeng/#/colorpicker
Move the color selector "bubble" to the left side of the color selector.
Change the hue selector.
Notice the color selector is now primarily greyscale.
If you then change the bubble again, it selects the correct color, not what is shown in the selector.
What is the motivation / use case for changing the behavior?
The color selector bubble should always show the same color spectrum if the hue slider has not changed.
Tested in Chrome, FireFox, Edge - Windows 10
The text was updated successfully, but these errors were encountered: