Per Page/Component Auto Render Mode never switches to wasm

I have this in my MainLayout.razor:

<RadzenNotification @rendermode="@RenderMode.InteractiveServer" />
<RadzenDialog @rendermode="@RenderMode.InteractiveServer" />

And the following code in Home.Razor:

@page "/"
@rendermode InteractiveAuto

<PageTitle>Home</PageTitle>
<RadzenText>Render mode: @(OperatingSystem.IsBrowser() ? "Wasm" : "Server")</RadzenText>

It never changes to Wasm, even though it does download Wasm. On Refresh it also doesn't change even when it's cached.

Removing the Notification and Dialog does show the proper behaviour of Server-> Wasm

Any ideas?

Did you try setting the @rendermode of RadzenNotification to InteractiveAuto?

To be honest I am not quite sure how rendering modes are inherited.

Trying:
<RadzenNotification @rendermode="@RenderMode.InteractiveAuto" />
<RadzenDialog @rendermode="@RenderMode.InteractiveServer" />

Seems to still have the same issue but using the following seems to stop the page from ever loading (blank screen unresponsive):

<RadzenNotification @rendermode="@RenderMode.InteractiveAuto" />
<RadzenDialog @rendermode="@RenderMode.InteractiveAuto" />

I've also tried Global Interactive Auto but that seemed to have the same issue.

Not sure why this doesn't work for you. Setting the render mode is supposed to work and not affect other components in other pages. Setting the @rendermode of the <Routes /> component is what enables it globally.

I have created a test app which uses a similar setup which seems to work as expected. You can compare it with yours.
Blazor8Auto.zip (365.7 KB)

Thank you will take a look!

Your example worked perfectly! Thank you

@korchev Is it possible to make it not "globbaly Auto" mode but "per page Auto mode" ?
if there is two component side by side one is "Serverrendered" one is "AUTOrendered" under same page.
Will auto rendered components stops using server side and switch to Wasm lately?

I am new in razden thats why i am asking.