[Android] CollectionView item selection doesn’t work when DragGestureRecognizer or DropGestureRecognizer is attached to item content
- Dominant language
- C#
- Stars
- 23.3k
- Forks
- 2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 290
Description
### Description
On Android, when a DragGestureRecognizer and/or DropGestureRecognizer is added to an element inside a CollectionView.ItemTemplate, tapping the item no longer triggers item selection. Without gestures, selection works as expected. This reproduces on Android 15 and 16.
https://github.com/user-attachments/assets/2de095b1-8d31-4d42-967d-a4312f9a992f
### Steps to Reproduce
1.Run the sample.
2.Tap the collection view item.
Observed behavior:
Tapping an item does not select it on Android when either DragGestureRecognizer or DropGestureRecognizer is present on a child element in the ItemTemplate.
Expected behavior:
Tapping an item should select it (fire SelectionChanged) even if the item’s child view has DragGestureRecognizer and/or DropGestureRecognizer attached, provided the user is not performing a drag/drop gesture.
[SimpleSample 1.zip](https://github.com/user-attachments/files/23605910/SimpleSample.1.zip)
### Link to public reproduction project repository
_No response_
### Version with bug
10.0.10
### Is this a regression from previous behavior?
Not sure, did not test other versions
### Last version that worked well
Unknown/Other
### Affected platforms
Android
### Affected platform versions
Android 15, Android 16
### Did you find any workaround?
No
### Relevant log output
```shell
```
Contributor guide
Assessment
This issue has not been assessed yet.