Skip to content

Commit

Permalink
[Menu] Add z-index to MenuProvider (#2772)
Browse files Browse the repository at this point in the history
  • Loading branch information
vnbaaij authored Oct 7, 2024
1 parent 1268d36 commit 94fece7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Core/Components/Menu/FluentMenuProvider.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public partial class FluentMenuProvider : FluentComponentBase
/// <summary />
internal string? StyleValue => new StyleBuilder(Style)
.AddStyle("display", "fixed") // To prevent the menu from displaying a scrollbar in body
.AddStyle("z-index", ZIndex.Menu.ToString())
.Build();

/// <summary>
Expand Down

0 comments on commit 94fece7

Please sign in to comment.