[Catalyst] Adding and Removing ContextMenus currently does not work #9359
Labels
area-controls-contextmenu
ContextMenu
blocked
Work that is currently blocked
p/2
Work that is important, but is currently not scheduled for release
partner/cat 😻
this is an issue that impacts one of our partners or a customer our advisory team is engaged with
platform/macOS 🍏
macOS / Mac Catalyst
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
t/desktop
The issue relates to desktop scenarios (MacOS/MacCatalyst/Windows/WinUI/WinAppSDK)
Milestone
Description
The code needs to be filled in for adding/removing Context Menus
On catalyst I found that the issue is related to not disconnecting the handler before recreating the menu.
Workaround
You can pretty easily fix it by adding the following disconnect code
But after I did that the behavior of the ContextMenu on the WkWebView became more erratic
Depends on
The text was updated successfully, but these errors were encountered: