[regession/8.0.0-preview.7.8842] MAUI Blazor Hybrid rerenders whole layout after each navigation #16661
Labels
area-blazor
Blazor Hybrid / Desktop, BlazorWebView
Blazor ❤️ MAUI
Issues in MAUI functionality that affect Blazor, but are not bugs in Blazor itself
i/regression
This issue described a confirmed regression on a currently supported version
platform/windows 🪟
s/duplicate 2️⃣
This issue or pull request already exists
t/bug
Something isn't working
Description
Since .NET 8 preview 7, the whole layout would refresh when a navigating to another page, prompting the "Loading..." each time.
Steps to Reproduce
In previous version, the container / MainLayout.razor would not re-render, just the children components that change.
This gets more severe/noticeable the longer a component takes to load, because the MainLayout is disappearing/re-appearing.
Link to public reproduction project repository
No response
Version with bug
8.0.0-preview.7.8842
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
8.0.0-preview.6.8686
Affected platforms
Windows, I was not able test on other platforms
Affected platform versions
Windows SDK 10.0.19041.0
Did you find any workaround?
No
Relevant log output
The text was updated successfully, but these errors were encountered: