From 167fa70fd5e2b74a038ab6d1569ccd3ce1918813 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Tue, 5 Sep 2023 23:30:11 +0800 Subject: [PATCH] Fix search command not disappearing --- src/components/search-form.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/search-form.jsx b/src/components/search-form.jsx index d7680cc9b..1f1555404 100644 --- a/src/components/search-form.jsx +++ b/src/components/search-form.jsx @@ -165,6 +165,7 @@ const SearchForm = forwardRef((props, ref) => { focusItem.click(); } setSearchMenuOpen(false); + props?.onSubmit?.(e); } break; }