Skip to content

fix: class missing in FluentMenu when anchored #3803

@JamesNK

Description

@JamesNK

🐛 Bug Report

I've added a class to a FluentMenu like this:

<FluentMenu @ref="_menu" Class="aspire-menu">
...

The class name is written to HTML when the fluent menu isn't anchored:

Image

But when it is anchored I don't see the style written anywhere. It looks like should should go onto the div, here. But it's missing in output HTML.

Image

💻 Repro or Code Sample

See above

🤔 Expected Behavior

Class should be written somewhere.

😯 Current Behavior

Not written anywhere.

💁 Possible Solution

🔦 Context

🌍 Your Environment

  • OS & Device: [e.g. MacOS, iOS, Windows, Linux] on [iPhone 7, PC]
  • Browser [e.g. Microsoft Edge, Google Chrome, Apple Safari, Mozilla FireFox]
  • .NET and Fluent UI Blazor library Version [e.g. 8.0.2 and 4.4.1]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions