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
{{ message }}
Repository navigation
[iOS] Fast tap while subscribed to Tapped event, prevents Pointer events #864
If a GestureRecognizer is set on a UIView, then when it recognize a gesture, the "touches" are cancelled (i.e. the overridable TouchesCancelled in fired instead of the TouchesEnded in the UIElement). Sometimes, it may even prevent the TouchesBegan (if UI is big enough?).
This has multiple effects:
You may not receive the PointerReleased (has it's hooked to the TouchesEnded) (usually affect "pressed" visual state)
Tapped vs pointers events are not fired in the same order as Windows
Tapped may be fired while no pointers are raised
Expected behavior
As of windows, we should always (depending of capture, pointer moves, etc.) received events in the following sequence:
Pressed
Released
Tapped
Minimal reproduction of the problem with instructions
Cf. sample RoutedEvent_TappedAndRelease
More info / how to diagnose
You are probably affected by this bug if:
Your UIElement does not react to "fast" tap, but reacts to "long tap" (keep your finger half a second on screen ... but lower than the "hold" delay).
Activity
Temp fix `PointerRelease` event not raised on iOS if subscribed to `T…
Temp fix `PointerRelease` event not raised on iOS if subscribed to `T…
Merge pull request #864 from unoplatform/dev/eb/unoskiaapi-ios-fix
Merge pull request unoplatform#864 from unoplatform/dev/xygu/20221018…