Description
When panning by dragging the mouse left to right, the values received from the PanGestureRecognizer do not increase monotonically. This causes elements to jump around the screen when being dragged.
Steps to Reproduce
- Clone the repro repo
- Run Maui.Controls.Sample
- Navigate to Core => Gestures => Pan Gesture Event Gallery
- Pan from left to right
- Observe that the pan locations sometimes jump backwards
Link to public reproduction project repository
https://github.com/jeremy-visionaid/maui/tree/pan-gesture-jank-repro
Version with bug
10.0.20
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
No response
Did you find any workaround?
Use WinUI 3 events directly
Relevant log output
Description
When panning by dragging the mouse left to right, the values received from the PanGestureRecognizer do not increase monotonically. This causes elements to jump around the screen when being dragged.
Steps to Reproduce
Link to public reproduction project repository
https://github.com/jeremy-visionaid/maui/tree/pan-gesture-jank-repro
Version with bug
10.0.20
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
No response
Did you find any workaround?
Use WinUI 3 events directly
Relevant log output