Open acouvert-msft opened 3 years ago
I think this will not be fixable from Winui2. but maybe @llongley thinks it could happen with a template change.
I don't think this is fixable in WinUI 2, no. CommandBar is an control in Windows.UI.Xaml.
@StephenLPeters, @llongley A bug was filled out on our product with the same issue and wondering if there's any known workaround or if this will be fixed with WinUI 2 as it's marked as "needs-winui-3"
More's Flyout (red rectangle below) is still opened and appears behind the Sort's Flyout (green rectangle below) which was opened after the More's
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 5 days.
Any update regarding this issue?
Confirmed the issue reproes in WinAppSDK (v. 1.4.230913002).
Repro app: WASDK_CSharp_GH_ReproProject (2).zip
Describe the bug
The overflow menu is not automatically hidden when showing a flyout attached to an
AppBarButton
which is part of the primary commands.Steps to reproduce the bug
Using the following code:
...
button is visible but contains onlyAppBarButton2
....
, it shows the flyout containingAppBarButton2
.AppBarButton1
, it shows its flyout as expected but the flyout containingAppBarButton2
is still visible.Expected behavior
When clicking on
AppBarButton1
, the...
's flyout containing the overflow menu should be hidden before showing the flyout attached toAppBarButton1
.Screenshots
NuGet package version
Microsoft.UI.Xaml 2.7.0
Windows app type
Device form factor
Desktop
Windows version
May 2021 Update (19043)
Additional context
No response