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
Hi, I have a custom two-finger hold gesture that worked correctly in Avalonia 11 on Windows
but has broken after upgrading to Avalonia 12.
Behavior:
Press one finger, then add a second → events fire correctly
Press both fingers simultaneously and release quickly → both PointerPressed
events are received
Press both fingers simultaneously and hold → no PointerPressed, no
PointerMoved, no PointerReleased at any point. Events are dropped entirely
after a certain hold duration.
I have tried subscribing at different levels:
Custom GestureRecognizer overrides
RouteFinished observable
AddHandler with RoutingStrategies.Tunnel and handledEventsToo: true
Subscribing on the TopLevel itself
None of these receive any events during a simultaneous two-finger hold.
Is there a supported way to implement a two-finger hold gesture in Avalonia 12?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have a custom two-finger hold gesture that worked correctly in Avalonia 11 on Windows
but has broken after upgrading to Avalonia 12.
Behavior:
events are received
PointerMoved, no PointerReleased at any point. Events are dropped entirely
after a certain hold duration.
I have tried subscribing at different levels:
None of these receive any events during a simultaneous two-finger hold.
Is there a supported way to implement a two-finger hold gesture in Avalonia 12?
Beta Was this translation helpful? Give feedback.
All reactions