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:
Родитель
e5ecca39a8
Коммит
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
|
||||
|
|
Загрузка…
Ссылка в новой задаче