From 4d5d1a15130a1814c350063c04a7ec04622a8cfb Mon Sep 17 00:00:00 2001 From: Cee Chen Date: Thu, 16 Nov 2023 10:50:52 -0800 Subject: [PATCH] Remove now-unnecessary extra `onFocus` handler --- .../public/filters_builder/filter_item/field_input.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/plugins/unified_search/public/filters_builder/filter_item/field_input.tsx b/src/plugins/unified_search/public/filters_builder/filter_item/field_input.tsx index 2f20870d95f2d..eb24b392b8596 100644 --- a/src/plugins/unified_search/public/filters_builder/filter_item/field_input.tsx +++ b/src/plugins/unified_search/public/filters_builder/filter_item/field_input.tsx @@ -81,11 +81,6 @@ export function FieldInput({ field, dataView, onHandleField }: FieldInputProps) }); }; - const handleFocus: React.FocusEventHandler = () => { - // Force focus on input due to https://github.com/elastic/eui/issues/7170 - inputRef?.current?.focus(); - }; - return (