From 2c20b3af94611749e2bf4f4951331a40f1238e0a Mon Sep 17 00:00:00 2001 From: Sherfin Shamsudeen Date: Mon, 17 Jan 2022 19:46:24 +0530 Subject: [PATCH] Bring dropdown component to front whenever it is focused (#1845) --- frontend/src/Editor/Components/DropDown.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/Editor/Components/DropDown.jsx b/frontend/src/Editor/Components/DropDown.jsx index 5a90e83db2..69e0a21a30 100644 --- a/frontend/src/Editor/Components/DropDown.jsx +++ b/frontend/src/Editor/Components/DropDown.jsx @@ -160,6 +160,7 @@ export const DropDown = function DropDown({ styles={customStyles} isLoading={properties.loadingState} onInputChange={onSearchTextChange} + onFocus={(event) => onComponentClick(event, component, id)} />