Context Menus on catalyst currently only open if you secondary click an actual HTML Element
Open
area-controls-webview
platform/ios
s/triaged
t/bug
t/desktop
- Dominant language
- C#
- Stars
- 23.3k
- Forks
- 2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 290
Description
###Description
On Catalyst the `ContextMenu` is only triggered if the user secondary clicks on an actual element. The `ContextMenu` is set by modifying the requested ContextMenu [here](https://github.com/dotnet/maui/blob/main/src/Core/src/Platform/iOS/MauiWebViewUIDelegate.cs#L20). This code doesn't fire if you just secondary click on the surface of the webview itself
Contributor guide
Research direction
Read src/Core/src/Platform/iOS/MauiWebViewUIDelegate.cs around line 20 and reproduce the context-menu behavior on Catalyst. Check the secondary-click path for the webview surface versus an HTML element; done means ContextMenu is triggered in both cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, macos
- Domain
- desktop, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100