Skip to content

Commit

Permalink
fix(ios): todo not a hippy view
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyunong committed Nov 29, 2024
1 parent 1cf3912 commit 0ab96f4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ - (void)measureInAppWindow:(NSNumber *)componentTag
double locationX = [params[HippyXOnScreenKey] doubleValue];
double locationY = [params[HippyYOnScreenKey] doubleValue];
UIView* hitView = [rootView hitTest:{locationX, locationY} withEvent:nil];
// TODO: not a hippp view
if (hitView != nil && [hitView respondsToSelector:@selector(hippyTag)] && hitView.hippyTag) {
[locationDict setObject:hitView.hippyTag forKey:HippyTagKey];
}
Expand Down

0 comments on commit 0ab96f4

Please sign in to comment.