From ded9b8e47f82ae8d90a916bd7e024bd241ad9c92 Mon Sep 17 00:00:00 2001 From: Paul Sebastian Date: Tue, 10 Oct 2023 13:26:42 -0700 Subject: [PATCH] fix for auto-suggest drop down non-closing issue Signed-off-by: Paul Sebastian --- public/components/common/search/autocomplete.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/components/common/search/autocomplete.tsx b/public/components/common/search/autocomplete.tsx index 8272d329f1..ec419014bc 100644 --- a/public/components/common/search/autocomplete.tsx +++ b/public/components/common/search/autocomplete.tsx @@ -145,6 +145,9 @@ export const Autocomplete = (props: AutocompleteProps) => { })} {...(panelsFilter && { append, fullWidth: true })} disabled={isDisabled} + onBlur={() => { + setAutocompleteState({ ...autocompleteState, isOpen: false }); + }} /> {autocompleteState.isOpen && !isSuggestionDisabled && (