Open
Description
Description
After enabling default context menus, the GUI will stop responding to the mouse cursor if you repeatedly right-click a couple of times. After moving the cursor outside of the window and back inside, it will start working again.
Steps to Reproduce
- Create a new .NET MAUI Blazor Hybrid App.
- Set "AreDefaultContextMenusEnabled" to true. This can be achieved by adding the following code to MauiProgram.cs:
Microsoft.AspNetCore.Components.WebView.Maui.BlazorWebViewHandler.BlazorWebViewMapper.AppendToMapping("MyCustomization", async (handler, view) => {
await handler.PlatformView.EnsureCoreWebView2Async();
handler.PlatformView.CoreWebView2.Settings.AreDefaultContextMenusEnabled = true;
});
- Repeatedly right-click the same spot in the GUI a couple of times, and notice how the GUI stops responding to all cursor events until you move it outside the window and back.
Link to public reproduction project repository
No response
Version with bug
9.0.14 SR1.4
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
Windows 10.0.19045.5608
Did you find any workaround?
No response