You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you add a MenuFlyout to an AppBarButton that's part of the secondary commands of a CommandBar, the flyout won't be constrained to the root bounds even if ShouldConstrainToRootBounds is set to true.
Steps to reproduce the bug
Create a CommandBar
Add an AppBarButton to its SecondaryCommands
Add a MenuFlyout with items to the AppBarButton
Set ShouldConstrainToRootBounds of the MenuFlyout to true
Start the app, make sure its not maximized, then open the flyout
Expected behavior
Flyout should be within the app window
Screenshots
NuGet package version
None
Windows version
Windows 11 (22H2): Build 22621
Additional context
Setting the "Placement" property of the Flyout also doesnt work as expected :/
I was initially trying to figure out why my flyout was overlapping its AppBarButton only on Windows 10. When you open a flyout while the app is maximized, expected behavior is for it to display somewhere outside the button (i.e to the left or top), but on Windows 10, it covers part of the button. And only happens when it's the secondary command of a CommandBar.
The text was updated successfully, but these errors were encountered:
Describe the bug
When you add a MenuFlyout to an AppBarButton that's part of the secondary commands of a CommandBar, the flyout won't be constrained to the root bounds even if ShouldConstrainToRootBounds is set to true.
Steps to reproduce the bug
Expected behavior
Flyout should be within the app window
Screenshots
NuGet package version
None
Windows version
Windows 11 (22H2): Build 22621
Additional context
Setting the "Placement" property of the Flyout also doesnt work as expected :/
I was initially trying to figure out why my flyout was overlapping its AppBarButton only on Windows 10. When you open a flyout while the app is maximized, expected behavior is for it to display somewhere outside the button (i.e to the left or top), but on Windows 10, it covers part of the button. And only happens when it's the secondary command of a CommandBar.
The text was updated successfully, but these errors were encountered: