[Windows] CollectionView preventing PanGestures
- Dominant language
- C#
- Stars
- 23.3k
- Forks
- 2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 290
Description
### Description
On Windows when using a PanGestureRecognizer on the parent of a CollectionView the gesture's do not get triggered unless you swipe in the header or footer.
### Steps to Reproduce
1. Create a page with a ContentView add a CollectionView inside the ContentView.
2. Add a PanGestureRecognizer to ContenetView
Expected Result:
PanGesture is triggered when panning the content of the CollectionView
Actual Result:
PanGesture is only triggered in the header or footer of CollectionView
https://github.com/user-attachments/assets/e5fdc1e0-cac6-45ee-9877-6ffeb9d9d041
Currently Working on iOS and Android.
### Link to public reproduction project repository
https://github.com/Cast324/MAUI-CollectionView-Issue-Reproduction
### Version with bug
9.0.30 SR3
### Is this a regression from previous behavior?
Not sure, did not test other versions
### Last version that worked well
_No response_
### Affected platforms
Windows
### Affected platform versions
_No response_
### Did you find any workaround?
No
### Relevant log output
```shell
```
Contributor guide
Research direction
Start with the public reproduction project at github.com/Cast324/MAUI-CollectionView-Issue-Reproduction and run it on Windows. Reproduce the PanGestureRecognizer behavior with a CollectionView, compare panning in the content versus its header or footer, and confirm that the gesture triggers across the CollectionView content without breaking the reported iOS and Android behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100