[PR #2229] [MERGED] Fix IconColor in ProfileMenuItem #3144

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

📋 Pull Request Information

Original PR: https://github.com/radzenhq/radzen-blazor/pull/2229
Author: @panasico
Created: 7/22/2025
Status: Merged
Merged: 7/23/2025
Merged by: @enchev

Base: masterHead: master


📝 Commits (1)

  • ba75ec1 Fix IconColor in ProfileMenuItem

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 Radzen.Blazor/RadzenProfileMenuItem.razor (+2 -2)

📄 Description

In the RadzenProfileMenuItem component, the icon color was not taken into account if the Path was not specified.
Example:

<RadzenProfileMenu>
    <Template>
        <RadzenIcon Icon="more_horiz"/>
    </Template>
    <ChildContent>
        <RadzenProfileMenuItem Text="View" Icon="visibility" IconColor="var(--rz-primary)"/>
        <RadzenProfileMenuItem Text="Edit" Icon="edit" IconColor="var(--rz-success)"/>
        <RadzenProfileMenuItem Text="Delete" Icon="delete" IconColor="var(--rz-danger)"/>
    </ChildContent>
</RadzenProfileMenu>

Before:
image

After:
image


🔄 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/2229 **Author:** [@panasico](https://github.com/panasico) **Created:** 7/22/2025 **Status:** ✅ Merged **Merged:** 7/23/2025 **Merged by:** [@enchev](https://github.com/enchev) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`ba75ec1`](https://github.com/radzenhq/radzen-blazor/commit/ba75ec17aee394c1dcf6a3e1c1d92954f3e6c046) Fix IconColor in ProfileMenuItem ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `Radzen.Blazor/RadzenProfileMenuItem.razor` (+2 -2) </details> ### 📄 Description In the RadzenProfileMenuItem component, the icon color was not taken into account if the Path was not specified. Example: ```razor <RadzenProfileMenu> <Template> <RadzenIcon Icon="more_horiz"/> </Template> <ChildContent> <RadzenProfileMenuItem Text="View" Icon="visibility" IconColor="var(--rz-primary)"/> <RadzenProfileMenuItem Text="Edit" Icon="edit" IconColor="var(--rz-success)"/> <RadzenProfileMenuItem Text="Delete" Icon="delete" IconColor="var(--rz-danger)"/> </ChildContent> </RadzenProfileMenu> ``` Before: <img width="146" height="202" alt="image" src="https://github.com/user-attachments/assets/fdd10ec1-624a-4c8c-86df-1a60fb5cfca6" /> After: <img width="119" height="205" alt="image" src="https://github.com/user-attachments/assets/8f7c818d-0038-4d92-ac8e-b88811aedfa0" /> --- <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:22:08 +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#3144