When I long press an item it gets selected in the list #10115
Labels
area/listview 📃
Categorizes an issue or PR as relevant to the ListView control
difficulty/medium 🤔
Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUI
kind/bug
Something isn't working
project/input ⌨️
Categorizes an issue or PR as relevant to input (Button, CheckBox, Toggle, Scroll, Map, Numeric,...)
project/items 🧾
Categorizes an issue or PR as relevant to items (ItemsControl, ItemsRepeater, ...)
project/pointers 🖱️
Categorizes an issue or PR as relevant to mouse/touch/pen pointers
Current behavior
If my
ListView.DataTemplate
implements theHolding
event theListView.ItemClicked
is fired (which is fine, I presume), and I make sure to clean theSelectedItem
inside theListView.ItemClicked
event, but the UI doesn't reflect that change.Expected behavior
The item not be selected.
How to reproduce it (as minimally and precisely as possible)
Workaround
ItemClicked
handler in the code-behind to beasync
and uncomment theawait Task.Delay(1);
Works on UWP/WinUI
No
Environment
Uno.WinUI / Uno.WinUI.WebAssembly / Uno.WinUI.Skia
NuGet package version(s)
Uno packages are in
4.5.12
Affected platforms
Android
IDE
Visual Studio 2022
IDE version
17.3.5
Relevant plugins
N/A
Anything else we need to know?
Love you team <3!
The text was updated successfully, but these errors were encountered: