You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MacOS doesn't appear to raise a PointerMoved event when the mouse left button is pressed, moved and then finally released. There is no event on press release.
At first this appears correct -- after all the pointer was just released, it hasn't moved. However, there is no other way to determine that pointer is no longer clicked. This is especially important for code relying both pointer move AND pointer click state.
Note that Windows does NOT have this issue and will raise a final PointerMoved event when the mouse left button is released even thoguh it hasn't moved.
To Reproduce
Steps to reproduce the behavior:
Using MacOS
Add a Grid and then PointerMoved event handler
Within the PointerMoved event handler watch PointerPoint.Properties.IsLeftButtonPressed and do something on move -- think custom dragging
Release the pointer left button (WITHOUT MOVING THE POINTER)
The PointerMoved event is never called
Expected behavior
PointerMoved should be invoked one last time if the pointer press is released even if it hasn't actually moved.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
OS: MacOS
Avalonia-Version: 11.0.6
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
I have a question. Why do we need to have this feature in Avalonia? I tested in WPF, there is no MouseMove after MouseUp. What is the correct behavior?
@robloo not sure here. But at least it should be the same behavior on each platform. Can you check it with a minimal sample in DevTools for Mac and Windows?
Describe the bug
MacOS doesn't appear to raise a PointerMoved event when the mouse left button is pressed, moved and then finally released. There is no event on press release.
At first this appears correct -- after all the pointer was just released, it hasn't moved. However, there is no other way to determine that pointer is no longer clicked. This is especially important for code relying both pointer move AND pointer click state.
Note that Windows does NOT have this issue and will raise a final PointerMoved event when the mouse left button is released even thoguh it hasn't moved.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
PointerMoved should be invoked one last time if the pointer press is released even if it hasn't actually moved.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: