Skip to content

Commit

Permalink
MudCollapse: Fix aria-expanded value (MudBlazor#9303)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielchalmers authored Jul 4, 2024
1 parent c81594e commit 1ef4215
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MudBlazor/Components/Collapse/MudCollapse.razor
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
@namespace MudBlazor
@inherits MudComponentBase
@using System.Globalization;
@using System.Globalization

<div aria-expanded="@Expanded" @onanimationend="EventUtil.AsNonRenderingEventHandler(AnimationEndAsync)"
<div aria-expanded="@Expanded.ToString().ToLowerInvariant()" @onanimationend="EventUtil.AsNonRenderingEventHandler(AnimationEndAsync)"
@attributes="UserAttributes" class="@Classname" style="@Stylename">
<div @ref="_wrapper" class="mud-collapse-wrapper">
<div class="mud-collapse-wrapper-inner">
Expand Down

0 comments on commit 1ef4215

Please sign in to comment.