Skip to content

Commit

Permalink
fix(ios): fix bug for touch handler
Browse files Browse the repository at this point in the history
  • Loading branch information
ozonelmy authored and zoomchan-cxj committed Mar 26, 2021
1 parent 2754249 commit 15d0bb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/sdk/base/HippyTouchHandler.m
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ - (UIView *)rootView:(UIView *)view {
[_onInterceptPullUpEventView addObject:view];
}
}
BOOL touchInterceptEvent = [_onInterceptTouchEventView count] || [_onInterceptTouchEventView count];
BOOL touchInterceptEvent = onInterceptTouchEvent || onInterceptPullUpEvent;

if ((touchInterceptEvent && findActions.count == 0) || [view isKindOfClass:NSClassFromString(@"HippyRootContentView")]) {
break;
Expand Down

0 comments on commit 15d0bb3

Please sign in to comment.