Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/devtools UI #4141

Merged
merged 10 commits into from
Dec 2, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ - (void)measureInAppWindow:(NSNumber *)componentTag
double locationX = [params[HippyXOnScreenKey] doubleValue];
double locationY = [params[HippyYOnScreenKey] doubleValue];
UIView* hitView = [rootView hitTest:{locationX, locationY} withEvent:nil];
if (hitView != nil && [hitView respondsToSelector:@selector(hippyTag)]) {
if (hitView != nil && [hitView respondsToSelector:@selector(hippyTag)] && hitView.hippyTag) {
Cyunong marked this conversation as resolved.
Show resolved Hide resolved
[locationDict setObject:hitView.hippyTag forKey:HippyTagKey];
}
callback(@[locationDict]);
Expand Down
Loading