This project demonstrates a bug with blazor where the page becomes unresponsive and makes the page completely unusable until it is closed or another page is loaded.
This is the default Blazor WASM template stripped of some pages and with the bug page.
- Create a new Blazor WASM project
- Add a new page called
MyTestPage.razor
- Add
@layout MyTestPage
at the top of this new file - Run and open the app (
dotnet run
) - then go to the new page
- ???
- tab freezes / page becomes unusable until memory is full (watch Task Manager)
- BlazorRecursionBugApp/Pages/MyTestPage.razor