using the newest release ofBblazor package in WASM project (although this issue has been present since I started using the Blazor components)
Using the 'Panels with Simple Data' example from
Getting Started with Blazor Dashboard Layout Component | Syncfusion , the SfDashboardLayout component will not render until I resize the browser window. Once it is resized the panel (or panels with more complex examples) display correctly
Here is the full index.razor page I am using:
@page "/"
@using Syncfusion.Blazor.Layouts
<SfDashboardLayout>
<DashboardLayoutPanels>
<DashboardLayoutPanel>
<HeaderTemplate><div>Panel 1</div></HeaderTemplate>
<ContentTemplate><div>Content</div></ContentTemplate>
</DashboardLayoutPanel>
</DashboardLayoutPanels>
</SfDashboardLayout>
<style>
.e-panel-header {
background-color: rgba(0, 0, 0, .1);
text-align: center;
}
.e-panel-content {
text-align: center;
margin-top: 10px;
}
</style>
@code
{
}