Skip to content
This repository was archived by the owner on Dec 26, 2025. It is now read-only.

[Question] BlazoredToasts component declaration in a .NET 8 blazor web app with 'InteractiveWebAssembly' page. #262

@mip1983

Description

@mip1983

I've been through the process of setting up Blazored Toast on my .NET 8 Blazor Web app. My pages are largely Client 'InteractiveWebAssembly' pages, and I found the calls to the IToastService wheren't doing anything initialy, nothing shown.

I eventually ended up putting the component declaration in my App.Razor instead and put a render mode:

<BlazoredToasts @rendermode="InteractiveAuto"
		Position="Blazored.Toast.Configuration.ToastPosition.TopRight"
		Timeout="10"
		RemoveToastsOnNavigation="true" />

That seems to get it working successfully, stops working if I remove @rendermode. Is this something that needs to be added to the README?

Metadata

Metadata

Assignees

No one assigned

    Labels

    QuestionQuestion about this projectTriageIssue needs to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions