ComboBox items not shown with left click on MacOS
Hello,
when using Material.Avalonia on Mac OS the ComboBox does not seems to work as expected. Left clicking does not reveal the available ComboBoxItems. The items are only shown when right clicking on the box.
Versions:
Target framework: NET 5
Avalonia: 0.10.10
Avalonia.Desktop: 0.10.10
Avalonia.ReactiveUI: 0.10.10
Material.Avalonia: 2.5.0
Mac OS: Monterey 12.0.1
I have attached a solution to replicate the problem (ComboBoxBug.zip).
Steps to reproduce:
- Download the attached solution and publish the project with the following settings:

- Run the program on MacOS and click on the
ComboBox
Expected behavior:
ComboBoxItems are shown when left clicking on the ComboBox
Actual behavior:
ComboBoxItems are not shown when left clicking on the ComboBox, right clicks however seem to work
Hello, @mjuen Does this reproducible without Material.Avalonia (on default avalonia theme)? Does this reproducible on other platforms?
Hi @SKProCH,
it works on MacOS without Material.Avalonia and the default Avalonia styles. In Windows it works fine with and without Material.Avalonia.
Same issue on Linux Ubuntu 20.04. I can open the combobox using the keyboard, but not with left click.
Same issue on Linux Ubuntu 20.04. I can open the combobox using the keyboard, but not with left click.
Hello. Can you attach a minimal reproduceable example project, please?
Also please make sure that problem also occurs on the default Avalonia theme.
Same issue on Linux Ubuntu 20.04. I can open the combobox using the keyboard, but not with left click.
Hello. Can you attach a minimal reproduceable example project, please? Also please make sure that problem also occurs on the default Avalonia theme.
Problem is different on Default Avalonia.
see below repo. https://github.com/DirkKramer/ComboboxIssue
@DirkKramer, seems like i can't reproduce it:
https://github.com/AvaloniaCommunity/Material.Avalonia/assets/29896317/c68bd16e-7634-4e7b-bd2c-6271a5ff5688
I have the same issue using Avalonia 11.0.7 on Mac OS 14.2.1 (23C71). Both latest version. This is a bug on Rider Plugin because if you run the app directly on file this the combo box work correctly.
Closing as bug on Avalonia's side. Track progress here:
https://github.com/AvaloniaUI/Avalonia/issues/12383