After the PivotView initially appears, before the data is rendered the user can navigate away by changing page or to a different tab.
In this scenario a null reference exception can be thrown, I have only been able to replicate it on PivotViews so far. Other controls such as grid and calendar seem fine.
Call stack:
[2021-05-11T10:22:26.145Z] Error: System.NullReferenceException: Object reference not set to an instance of an object.
at Syncfusion.Blazor.PivotView.SfPivotView`1.InitialLoad()
at Syncfusion.Blazor.PivotView.SfPivotView`1.OnAfterScriptRendered()
at Syncfusion.Blazor.SfBaseComponent.OnAfterRenderAsync(Boolean firstRender)
at Syncfusion.Blazor.SfDataBoundComponent.OnAfterRenderAsync(Boolean firstRender)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle)
Attachment:
PivotView__Null_reference_bug_9853072a.zip