MenuBar Command x:Bind / Binding does not work #10479
Labels
area/xBind 🪢
Categorizes an issue or PR as relevant to x:Bind
difficulty/tbd
Categorizes an issue for which the difficulty level needs to be defined.
kind/bug
Something isn't working
project/binding 🪢
Categorizes an issue or PR as relevant to the binding engine
Current behavior
Command bindings are not working properly in MenuBar>MenuBarItem>MenuFlyoutItem:
Command bindings are not working properly in Button>MenuFlyout>MenuFlyoutItem:
The issue occurs in Skia.Wpf and Skia,Gtk (at least).
Tested also on Android: x:Bind works the same way, Binding is working correctly also in scenario (2).
Expected behavior
Command x:Bind and Binding works correctly in MenuBar>MenuBarItem>MenuFlyoutItem on Skia.Wpf and Skia.Gtk.
How to reproduce it (as minimally and precisely as possible)
MainPage.xaml (Page content):
MainPage.xaml.cs
MainPageViewModel.cs (using CommunityToolkit.Mvvm)
Workaround
Can use scenario (4): Button>MenuFlyout>MenuFlyoutItem and Binding.
Works on UWP/WinUI
Yes
Environment
Uno.WinUI / Uno.WinUI.WebAssembly / Uno.WinUI.Skia
NuGet package version(s)
No response
Affected platforms
Android, Skia (WPF), Skia (GTK on Linux/macOS/Windows)
IDE
Visual Studio 2022
IDE version
17.4.1
Relevant plugins
No response
Anything else we need to know?
I would be happy also with any clue where can I look at to analyze the issue and probably help to fix that.
Additional topic that I have noticed is that MenuFlyouts (but also Flyouts) have vertical ScrollBars visible in Skia.
The text was updated successfully, but these errors were encountered: