Hi,
I have an issue with RadzenSidebar
, is alway by default open, when i bind a false boolean.
I am on Blazor SSR .net8 and Radzen.Blazor 7.2 (and under)
An example of my code:
<RadzenLayout Style="grid-template-columns: 1fr auto; grid-template-areas: 'rz-header rz-header' 'rz-body rz-sidebar'; height: 90%; background-color: inherit">
<RadzenSidebar @bind-Expanded="@helpSidebarExpanded">
<!-- or with: <RadzenSidebar Expanded="false"> -->
....
</RadzenSidebar>
<RadzenBody>
....
</RadzenBody>
</RadzenLayout>
It's as if the component has a default state of True and forces the Expanded
parameter to change to its default value.
My goal is to have a collapsed sidebar when the user arrives on my page, and open sidebar when user click on a button.
Is this a bug or expected behavior?