Open BineeMan opened 1 year ago
We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.
Verified this on Visual Studio Enterprise 17.7.0 Preview 4.0. Repro on Windows 11 and iOS 16.4 .NET 8, not repro on Android 13.0-API33 with below Project: MauiApp1.zip
iOS: Cannot be dragged. Windows: If the mouse beyond the red rectangle during dragging, then the gesture is interrupted.
Confirmed issue as well on Windows
Can anyone give an update on that, I had similar problem when dragging an object very fast it gets released before release the mouse button. Now it seems to work even dragging the mouse outside of the application window (Desktop) the object is still dragging.
Description
When using Pan Gesture Recognizer, after approximately 7 seconds it gets inturrepted. It just stops calling "PanUpdated" event, therefore GestureStatus.Canceled or GestureStatus.Completed cases are not executed. I've noticed that extra calculations or calling another functions inside of PanUpdate event can trigger this bug earlier, sometimes almost instantly. This bug only on Windows. On a gif below I'm demonstrating how it happens, I didn't release LMB:
Steps to Reproduce
Link to public reproduction project repository
https://github.com/BineeMan/MAUI-Pan-Gesture-Recognizer-interruption-bug
Version with bug
7.0.49
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
Windows 11
Did you find any workaround?
No response
Relevant log output
No response