[iOS] Fast tap while subscribed to Tapped
event, prevents Pointer events
#864
Labels
kind/bug
Something isn't working
platform/ios 🍎
Categorizes an issue or PR as relevant to the iOS platform
I'm submitting a...
Current behavior
If a
GestureRecognizer
is set on aUIView
, then when it recognize a gesture, the "touches" are cancelled (i.e. the overridableTouchesCancelled
in fired instead of theTouchesEnded
in theUIElement
). Sometimes, it may even prevent theTouchesBegan
(if UI is big enough?).This has multiple effects:
PointerReleased
(has it's hooked to theTouchesEnded
) (usually affect "pressed" visual state)Tapped
vs pointers events are not fired in the same order as WindowsTapped
may be fired while no pointers are raisedExpected behavior
As of windows, we should always (depending of capture, pointer moves, etc.) received events in the following sequence:
Minimal reproduction of the problem with instructions
Cf. sample
RoutedEvent_TappedAndRelease
More info / how to diagnose
You are probably affected by this bug if:
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).Control
stays in "pressed" state.Environment
Nuget Package: Uno.UI
Package Version(s): 1.45.0-dev.1450
Affected platform(s):
Visual Studio: irrelevant
Relevant plugins: none
The text was updated successfully, but these errors were encountered: