[PR #946] [MERGED] Color Picker: HSV picker base color fix + alpha resetting fix #2413

Open
opened 2026-01-29 18:18:43 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/radzenhq/radzen-blazor/pull/946
Author: @Cosmatevs
Created: 4/30/2023
Status: Merged
Merged: 5/1/2023
Merged by: @akorchev

Base: masterHead: color-picker-fix


📝 Commits (3)

  • 602cec4 Color Picker: Fix HSV saturation picker base color
  • 4648eec Color Picker: Make initial RGB and HSV consistent
  • 70556f9 Color Picker: Get rid of inconsistent HSV property and always use handlers instead; fix alpha resetting or wrong shown value when changing HEX or choosing a predefined color

📊 Changes

2 files changed (+35 additions, -50 deletions)

View changed files

📝 Radzen.Blazor/RadzenColorPicker.razor (+4 -4)
📝 Radzen.Blazor/RadzenColorPicker.razor.cs (+31 -46)

📄 Description

The color in the top right corner of the HSV stauration/value picker should be always the most saturated. Once you choose a predefined color or enter RGB values, it becomes the chosen color, not the most saturated one:
color picker hue issue

Here's a fix for this issue.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/radzenhq/radzen-blazor/pull/946 **Author:** [@Cosmatevs](https://github.com/Cosmatevs) **Created:** 4/30/2023 **Status:** ✅ Merged **Merged:** 5/1/2023 **Merged by:** [@akorchev](https://github.com/akorchev) **Base:** `master` ← **Head:** `color-picker-fix` --- ### 📝 Commits (3) - [`602cec4`](https://github.com/radzenhq/radzen-blazor/commit/602cec44dc54eb0b134dc7f7a77cf9381264ed60) Color Picker: Fix HSV saturation picker base color - [`4648eec`](https://github.com/radzenhq/radzen-blazor/commit/4648eec3c8bf7e46035076fe002db12c51ea5a2a) Color Picker: Make initial RGB and HSV consistent - [`70556f9`](https://github.com/radzenhq/radzen-blazor/commit/70556f97e36f4b4f0ee4d8ba25a241235401063e) Color Picker: Get rid of inconsistent HSV property and always use handlers instead; fix alpha resetting or wrong shown value when changing HEX or choosing a predefined color ### 📊 Changes **2 files changed** (+35 additions, -50 deletions) <details> <summary>View changed files</summary> 📝 `Radzen.Blazor/RadzenColorPicker.razor` (+4 -4) 📝 `Radzen.Blazor/RadzenColorPicker.razor.cs` (+31 -46) </details> ### 📄 Description The color in the top right corner of the HSV stauration/value picker should be always the most saturated. Once you choose a predefined color or enter RGB values, it becomes the chosen color, not the most saturated one: ![color picker hue issue](https://user-images.githubusercontent.com/44393502/235375254-bcb015dc-df14-4e04-85e9-3434c001888c.gif) Here's a fix for this issue. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 18:18:43 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#2413