dotnet / dotnet/maui

Context Menus on catalyst currently only open if you secondary click an actual HTML Element

Open
#9,784 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.