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!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

2
Votes

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>