diff --git a/apple/Handlers/RNFlingHandler.m b/apple/Handlers/RNFlingHandler.m index e9281149f5..0c075c1916 100644 --- a/apple/Handlers/RNFlingHandler.m +++ b/apple/Handlers/RNFlingHandler.m @@ -72,6 +72,7 @@ - (void)reset [_gestureHandler.pointerTracker reset]; _hasBegan = NO; [super reset]; + [_gestureHandler reset]; } - (CGPoint)getLastLocation diff --git a/apple/Handlers/RNForceTouchHandler.m b/apple/Handlers/RNForceTouchHandler.m index 4eba9ec183..f0c70fa16a 100644 --- a/apple/Handlers/RNForceTouchHandler.m +++ b/apple/Handlers/RNForceTouchHandler.m @@ -125,6 +125,7 @@ - (void)reset { [_gestureHandler.pointerTracker reset]; [super reset]; + [_gestureHandler reset]; _force = 0; _firstTouch = NULL; } diff --git a/apple/Handlers/RNHoverHandler.m b/apple/Handlers/RNHoverHandler.m index 1517760701..902665fa9f 100644 --- a/apple/Handlers/RNHoverHandler.m +++ b/apple/Handlers/RNHoverHandler.m @@ -56,6 +56,12 @@ - (void)cancel self.enabled = NO; } +- (void)reset +{ + [super reset]; + [_gestureHandler reset]; +} + - (UIPointerStyle *)pointerInteraction:(UIPointerInteraction *)interaction styleForRegion:(UIPointerRegion *)region { if (interaction.view != nil && _hoverEffect != RNGestureHandlerHoverEffectNone) { diff --git a/apple/Handlers/RNLongPressHandler.m b/apple/Handlers/RNLongPressHandler.m index 12f5e6e3a4..56f3696502 100644 --- a/apple/Handlers/RNLongPressHandler.m +++ b/apple/Handlers/RNLongPressHandler.m @@ -103,6 +103,7 @@ - (void)reset [_gestureHandler.pointerTracker reset]; [super reset]; + [_gestureHandler reset]; } - (NSUInteger)getDuration diff --git a/apple/Handlers/RNManualHandler.m b/apple/Handlers/RNManualHandler.m index 167d1ab899..779b3c78e8 100644 --- a/apple/Handlers/RNManualHandler.m +++ b/apple/Handlers/RNManualHandler.m @@ -62,6 +62,7 @@ - (void)reset { [_gestureHandler.pointerTracker reset]; [super reset]; + [_gestureHandler reset]; _shouldSendBeginEvent = YES; } diff --git a/apple/Handlers/RNNativeViewHandler.mm b/apple/Handlers/RNNativeViewHandler.mm index 238161884f..833122305c 100644 --- a/apple/Handlers/RNNativeViewHandler.mm +++ b/apple/Handlers/RNNativeViewHandler.mm @@ -65,6 +65,7 @@ - (void)reset { [_gestureHandler.pointerTracker reset]; [super reset]; + [_gestureHandler reset]; } @end diff --git a/apple/Handlers/RNPanHandler.m b/apple/Handlers/RNPanHandler.m index bdf0d84526..44e0ad5ed5 100644 --- a/apple/Handlers/RNPanHandler.m +++ b/apple/Handlers/RNPanHandler.m @@ -123,6 +123,7 @@ - (void)interactionsMoved:(NSSet *)touches withEvent:(UIEvent *)event if (self.state == UIGestureRecognizerStatePossible && [self shouldFailUnderCustomCriteria]) { self.state = UIGestureRecognizerStateFailed; + [self triggerAction]; return; } @@ -218,6 +219,7 @@ - (void)reset [NSObject cancelPreviousPerformRequestsWithTarget:self selector:@selector(activateAfterLongPress) object:nil]; self.enabled = YES; [super reset]; + [_gestureHandler reset]; } - (void)updateHasCustomActivationCriteria diff --git a/apple/Handlers/RNPinchHandler.m b/apple/Handlers/RNPinchHandler.m index c49b271e50..4cbca6ea0b 100644 --- a/apple/Handlers/RNPinchHandler.m +++ b/apple/Handlers/RNPinchHandler.m @@ -120,6 +120,7 @@ - (void)reset { [_gestureHandler.pointerTracker reset]; [super reset]; + [_gestureHandler reset]; } @end diff --git a/apple/Handlers/RNRotationHandler.m b/apple/Handlers/RNRotationHandler.m index 65aa6ce122..dfeedb3f8d 100644 --- a/apple/Handlers/RNRotationHandler.m +++ b/apple/Handlers/RNRotationHandler.m @@ -113,6 +113,7 @@ - (void)reset { [_gestureHandler.pointerTracker reset]; [super reset]; + [_gestureHandler reset]; } @end diff --git a/apple/Handlers/RNTapHandler.m b/apple/Handlers/RNTapHandler.m index e9537462ac..59c22d8326 100644 --- a/apple/Handlers/RNTapHandler.m +++ b/apple/Handlers/RNTapHandler.m @@ -251,6 +251,7 @@ - (void)reset _maxNumberOfTouches = 0; self.enabled = YES; [super reset]; + [_gestureHandler reset]; } @end