Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
Hi,
Recently an error is coming up with any page that has a dialog control on it when you navigate away before it has fully loaded.
Even if i wait until OnAfterRender is complete and navigate away immediately after that the error still occurs.
It also happens with the Scheduler component as that has a dialog built in.
Error:
<CODE>
crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
Unhandled exception rendering component: Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at Syncfusion.Blazor.Popups.SfDialog.GetResizeDirection()
at Syncfusion.Blazor.Popups.SfDialog.GetInstance()
at Syncfusion.Blazor.Popups.SfDialog.OnAfterScriptRendered()
at Syncfusion.Blazor.SfBaseComponent.OnAfterRenderAsync(Boolean firstRender)
at Syncfusion.Blazor.Popups.SfDialog.OnAfterRenderAsync(Boolean firstRender)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle)
d.printErr @ blazor.webassembly.js:1
</CODE>