The Windows App SDK empowers all Windows desktop apps with modern Windows UI, APIs, and platform features, including back-compat support, shipped via NuGet.
Using User32.TrackPopupMenu() makes main window unclickable more often than not. Moving the window to my secondary monitor or making it very small makes it fail nearly every time.
Describe the bug
Using User32.TrackPopupMenu() makes main window unclickable more often than not. Moving the window to my secondary monitor or making it very small makes it fail nearly every time.
Repo: https://github.com/josetr/WinUI-TrackPopupMenu-Issue
Expected behavior The popup menu should be closed once you click the main window.
Version Info
NuGet package version: Microsoft.ProjectReunion 0.8.1 Microsoft.ProjectReunion.Foundation 0.8.1 Microsoft.ProjectReunion.WinUI 0.8.1