Hi Brian,
Thanks for contacting Syncfusion support.
We have validated your requirement in Syncfusion Blazor Sidebar component. Yes, we can prevent the Sidebar component being open on initial loading by assigning Sidebar type property(Push, Over, Slide). Please refer to the below code block.
|
<SfSidebar @ref="SidebarObj" Position="@Position" Type="SidebarType.Over" HtmlAttributes="@HtmlAttribute">
<ChildContent>
<div class="title-header">
<div style="display:inline-block"> Sidebar </div>
<span id="close" @onclick="@Close" class="e-icons"></span>
</div>
<div class="sub-title">
Place your primary content here.
</div>
</ChildContent>
</SfSidebar> |
We have prepared a sample for your convenience, which can be downloaded from the below link.
Please refer to the below KB documentation.
To know more about Sidebar component, refer to the below links.
Please let us know, if you need any further assistance.
Regards,
Muthukrishnan K