From 1e5c0b7856a3b9a3113f993ff56dcf8a8491237c Mon Sep 17 00:00:00 2001 From: Brian Vaughn Date: Tue, 23 Apr 2019 13:43:38 -0700 Subject: [PATCH] Re-added the selection message --- src/devtools/views/Components/InspectedElementContext.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/devtools/views/Components/InspectedElementContext.js b/src/devtools/views/Components/InspectedElementContext.js index 1aed0dd63e..5d4bacb28b 100644 --- a/src/devtools/views/Components/InspectedElementContext.js +++ b/src/devtools/views/Components/InspectedElementContext.js @@ -126,6 +126,9 @@ function InspectedElementContextController({ children }: Props) { // We'll poll for an update in the response handler below. sendRequest(); + // Update the $r variable. + bridge.send('selectElement', { id: selectedElementID, rendererID }); + const onInspectedElement = ( inspectedElementResponse: InspectedElementResponse | null ) => {