Skip to content

fix: FluentProfileMenu's inner FluentPersona component does not show initials #2286

@thebarrettlo

Description

@thebarrettlo

🐛 Bug Report

When using the default implementation of FluentProfileMenu with the FullName property set but not Image, the "outer" FluentPersona displays the initials from the FullName property. However, the inner FluentPersona in the popover does not display initials, only a blank, colored circle.

💻 Repro or Code Sample

<FluentProfileMenu FullName="First Last" />

e.g.,

image

🤔 Expected Behavior

The "outer" FluentPersona image/initials matches the one in the popover.

😯 Current Behavior

When an image is not set on FluentProfileMenu, the inner FluentPersona in the popover does not display initials, only a blank, colored circle.

💁 Possible Solution

On the FluentPersona in the popover, set the Name property to FluentProfileMenu's FullName property so that the initials can be parsed.

🔦 Context

🌍 Your Environment

  • OS & Device: Windows 11 on PC
  • Browser: Microsoft Edge
  • .NET 8, Fluent UI Blazor library 4.8.0

Metadata

Metadata

Assignees

Labels

triageNew issue. Needs to be looked at

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions