mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Back out "Cancel touches if surface touch handler can be prevented"
Summary: Changelog: [internal] Causes assert in `_updateTouches` to be fired. Original commit changeset: 9e3cd4135138 Reviewed By: motiz88 Differential Revision: D25684453 fbshipit-source-id: a5394c622712e7b1c1c57cd663c2bba9161da333
This commit is contained in:
committed by
Facebook GitHub Bot
parent
e5ecca39a8
commit
eba31d2858
@@ -410,14 +410,4 @@ RCT_NOT_IMPLEMENTED(-(instancetype)initWithTarget : (id)target action : (SEL)act
|
||||
return [self canBePreventedByGestureRecognizer:otherGestureRecognizer];
|
||||
}
|
||||
|
||||
- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer
|
||||
shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer
|
||||
{
|
||||
BOOL canBePrevented = [self canBePreventedByGestureRecognizer:otherGestureRecognizer];
|
||||
if (canBePrevented) {
|
||||
[self reset];
|
||||
}
|
||||
return NO;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user