CascadingParameter set in MainLayout.razor doesn't work as expected in .NET 8 #51955
Closed
1 task done
Labels
area-blazor
Includes: Blazor, Razor Components
✔️ Resolution: By Design
Resolved because the behavior in this issue is the intended design.
Status: Resolved
Is there an existing issue for this?
Describe the bug
The the cascading parameters work properly only during prerender:
I found a workaround that set rendermode to InteractiveServer gobally in app.razor
<Routes @rendermode="RenderMode.InteractiveServer" />
Expected Behavior
The the cascading parameters work properly without setting rendermode to InteractiveServer gobally
Steps To Reproduce
codes in Razor Components:
mainlayout:
Exceptions (if any)
No response
.NET Version
8.0.100-rc.2.23502.2
Anything else?
No response
The text was updated successfully, but these errors were encountered: