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!

3
Votes

Clean Net 8 Blazor Web App, Server, Interactivity per page

Home.razor - Static page without SfToasts
Counter.razor - InteractiveServer with SfToasts
Weather.razor - StreamRendering without SfToasts

application crashed EVERY time when go FROM InteractiveServerPage with SfToasts TO any NON InteractiveServerPage.

Home -> Counter, Home -> Weather, Weather -> Home, Home -> Countet   ----  everything is ok
Counter -> Home, Counter -> Weather    ----  application crashed with unhandled exception

Empty


Empty


How to reproduce:

  • Create default Net 8 Blazor Web App, Server, Interactivity per page. 
  • install nuget packages:  

  • Install-Package Syncfusion.Blazor.Notifications -Version 24.2.3
    Install-Package Syncfusion.Blazor.Themes -Version 24.2.3
  • add to _Imports.razor

    @using Syncfusion.Blazor
    @using Syncfusion.Blazor.Notifications

  • add to program.cs:

    using Syncfusion.Blazor;
    builder.Services.AddSyncfusionBlazor();

  • add to App.razor:

  • <link href="_content/Syncfusion.Blazor.Themes/bootstrap5.css" rel="stylesheet" />
    <script src="_content/Syncfusion.Blazor.Core/scripts/syncfusion-blazor.min.js" type="text/javascript"></script>
  • add to Counter.razor:

  • <SfToast />
    
  • Now Run application. From Home page go to Counter, and than Back to Home. application crashed with unhandled exception:

    warn: Microsoft.AspNetCore.Components.Server.Circuits.RemoteRenderer[100]
          Unhandled exception rendering component: TypeError: Cannot read properties of null (reading 'removeChild')
          System.InvalidOperationException: TypeError: Cannot read properties of null (reading 'removeChild')
             at Microsoft.AspNetCore.Components.RenderTree.Renderer.InvokeRenderCompletedCallsAfterUpdateDisplayTask(Task updateDisplayTask, Int32[] updatedComponents)
    fail: Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost[111]
          Unhandled exception in circuit 'SGg2PHYFEjCzLefYsfwxuqCtizi3d2bk7fh-y1hNacg'.
          System.AggregateException: One or more errors occurred. (TypeError: Cannot read properties of null (reading 'removeChild'))
           ---> System.InvalidOperationException: TypeError: Cannot read properties of null (reading 'removeChild')
             at Microsoft.AspNetCore.Components.RenderTree.Renderer.InvokeRenderCompletedCallsAfterUpdateDisplayTask(Task updateDisplayTask, Int32[] updatedComponents)
             --- End of inner exception stack trace ---