diff --git a/packages/react-native-renderer/src/ReactNativeFiberInspector.js b/packages/react-native-renderer/src/ReactNativeFiberInspector.js index a0f543a9c4e43..f0c6a8de2f566 100644 --- a/packages/react-native-renderer/src/ReactNativeFiberInspector.js +++ b/packages/react-native-renderer/src/ReactNativeFiberInspector.js @@ -217,6 +217,7 @@ if (__DEV__) { pointerY: locationY, frame: {left: pageX, top: pageY, width, height}, touchedViewTag: nativeViewTag, + closestInstance, }); }, ); diff --git a/packages/react-native-renderer/src/ReactNativeTypes.js b/packages/react-native-renderer/src/ReactNativeTypes.js index 864952c52ff24..8a9968c0a080e 100644 --- a/packages/react-native-renderer/src/ReactNativeTypes.js +++ b/packages/react-native-renderer/src/ReactNativeTypes.js @@ -150,6 +150,7 @@ export type InspectorData = $ReadOnly<{| export type TouchedViewDataAtPoint = $ReadOnly<{| pointerY: number, touchedViewTag?: number, + closestInstance?: Object, frame: $ReadOnly<{| top: number, left: number,