TextCommandBarFlyout flickers open if empty #5702
Labels
area-CommandBarFlyout
area-Commanding
AppBar, UICommand, MVVM, etc
bug
Something isn't working
team-Controls
Issue for the Controls team
Describe the bug
The context menu on text boxes flashes a small rectangle when you try to open it if there are no commands.
Steps to reproduce the bug
Steps to reproduce the behavior:
Expected behavior
Nothing should appear if there are no menu items.
Screenshots
![A rectangle briefly appears when right-clicking the text box](https://user-images.githubusercontent.com/18747724/129635718-1eefe7fc-f6ee-451c-9a5b-aa7e5d8350da.gif)
Version Info
NuGet package version:
Microsoft.UI.Xaml 2.8.5
Microsoft.WindowsAppSDK 1.3.230602002
Microsoft.WindowsAppSDK 1.4.230628000-preview1
Affects both WinUI 3 and WinUI 2
The text was updated successfully, but these errors were encountered: