mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Return closestInstance in getInspectorDataForViewAtPoint (#25118)
This commit is contained in:
@@ -217,6 +217,7 @@ if (__DEV__) {
|
||||
pointerY: locationY,
|
||||
frame: {left: pageX, top: pageY, width, height},
|
||||
touchedViewTag: nativeViewTag,
|
||||
closestInstance,
|
||||
});
|
||||
},
|
||||
);
|
||||
|
||||
@@ -150,6 +150,7 @@ export type InspectorData = $ReadOnly<{|
|
||||
export type TouchedViewDataAtPoint = $ReadOnly<{|
|
||||
pointerY: number,
|
||||
touchedViewTag?: number,
|
||||
closestInstance?: Object,
|
||||
frame: $ReadOnly<{|
|
||||
top: number,
|
||||
left: number,
|
||||
|
||||
Reference in New Issue
Block a user