Fluent.Ribbon
Fluent.Ribbon copied to clipboard
Touchpad tap does not select GalleryItem, click does
Hi,
I got the following DropDownButton in my Ribbon. If I just "tap" an item it does not get selected, if I click (hard press the touchpad button) it gets selected. This is the first time I experience a different in behavior of tap and click. Same thing happens on the MenuItem within that DropDownButton.
<Fluent:DropDownButton Header="Filter" SizeDefinition="Middle,Small" ClosePopupOnMouseDown="True" Icon="Filter.png" LargeIcon="Filter.png">
<Fluent:Gallery ItemsSource="{Binding FilterViewModel.Years}" SelectedItem="{Binding FilterViewModel.FilterYear}" MaxItemsInRow="2" Selectable="True" Width="160">
<Fluent:Gallery.ItemTemplate>
<DataTemplate>
<TextBlock HorizontalAlignment="Left" VerticalAlignment="Center" Text="{Binding StringFormat=\{0\}}" Width="75" />
</DataTemplate>
</Fluent:Gallery.ItemTemplate>
</Fluent:Gallery>
<MenuItem Header="{x:Static res:Resources.All}" Tag="year" Click="btnAllFilter_Click" />
</Fluent:DropDownButton>
Environment
- Fluent.Ribbon v7.10
- Windows 10
- .NET Core 3.1
I don't have a touchscreen so this might be difficult to reproduce and fix. Will have a look at what i can do here.
It is not related to a touchscreen, it happens to me on a touchpad (Dell laptop).
Ah, i misread your text. Will try to reproduce then.
Would be great if that came up at some point :)
Were you able to reproduce it? I still face the issue on a Surface Pro.
Can't reproduce when using the touchpad on my work laptop. Could you try to use Snoop, use the events tab and check which mouse/touch events get listed when doing a tap?