When I add a tab to my page, I get the following error:
fail: Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost[111]
Unhandled exception in circuit '8LE15HU4TTdFXxO1pVOMZLrUk86G2_4LdrvRYrIzCh4'.
Microsoft.JSInterop.JSException: Cannot read property 'closest' of null
TypeError: Cannot read property 'closest' of null
at Object.ut [as closest] (https://localhost:5001/_content/Syncfusion.Blazor/scripts/syncfusion-blazor.min.js:1:842
5)
at s.render (https://localhost:5001/_content/Syncfusion.Blazor/scripts/sf-tab-a1eb99.min.js:1:757)
at Object.initialize (https://localhost:5001/_content/Syncfusion.Blazor/scripts/sf-tab-a1eb99.min.js:1:20470)
The tab is pretty simple so I don't understand what the error is. Can you help point me in the right direction?
Here is the Tab code Note that I get the error whether I include the CssClass property or not:
<SfTab CssClass="tab_content">
<TabItems>
<TabItem>
<ChildContent>
<TabHeader Text="Details">
</TabHeader>
</ChildContent>
</TabItem>
<TabItem>
<ChildContent>
<TabHeader Text="Items">
</TabHeader>
</ChildContent>
</TabItem>
</TabItems>
</SfTab>
Here is the CSS added to the site.css file:
.tab_content .e-content .e-item {
font-size: 10px;
padding: 10px;
text-align: justify;
}