"Assertion failed - heap is currently locked" when an element is focused out #26809
Labels
area-blazor
Includes: Blazor, Razor Components
✔️ Resolution: Answered
Resolved because the question asked by the original author has been answered.
Status: Resolved
Milestone
Describe the bug
An error is thrown when an element is focused out and removed from the DOM in a blazor wasm app in .NET 5.0 RC1:
This seems to be a regression from the 3.1 version (see below) as the same configuration works without throwing an error.
To Reproduce
Index.razor
page, click onitem 1
Expected:
No error is thrown
Actual:
An error is thrown
Using a
@onfocusout
handler does not solve the issue (click onitem 2
to reproduce) as it rhows with another error:Exceptions (if any)
An error is thrown
Further technical details
dotnet --info
-Microsoft.NETCore.App 5.0.0-rc.1.20451.14
Additional context
Might be connected to #23773 judging from the error message.
The text was updated successfully, but these errors were encountered: