• Renzo Olivares's avatar
    `_TapStatusTrackerMixin` should wait until the next `PointerDownEvent` before... · 3c366b70
    Renzo Olivares authored
    `_TapStatusTrackerMixin` should wait until the next `PointerDownEvent` before resetting its state when the tap timer has elapsed (#129312)
    
    `_TapStatusTrackerMixin` used by `BaseTapAndDragGestureRecognizer` should wait until the next tap down before resetting its state when the `_consecutiveTapTimer` times out. This is because `BaseTapAndDragGestureRecognizer` may not have fired its tap down/tap up event before the state has been reset preventing it from firing the tap down/tap up callbacks at all because `currentDown` and `currentUp` are reset to `null`.
    
    Fixes #129161
    3c366b70
tap_and_drag_gestures_test.dart 27.7 KB