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:
Samuel Susla 2020-12-22 13:56:53 -08:00 коммит произвёл Facebook GitHub Bot
Родитель e5ecca39a8
Коммит eba31d2858
1 изменённых файлов: 0 добавлений и 10 удалений

Просмотреть файл

@ -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