From a79e2c20fe3c5e1d2fbb5b7105b6f11eeadf1a6c Mon Sep 17 00:00:00 2001 From: Sami Mazouz Date: Fri, 20 May 2022 20:02:04 +0100 Subject: [PATCH] fix: dropdown show results search button hidden while loading results (#3431) --- framework/core/js/src/forum/components/Search.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/js/src/forum/components/Search.tsx b/framework/core/js/src/forum/components/Search.tsx index af15a207c..032156bb9 100644 --- a/framework/core/js/src/forum/components/Search.tsx +++ b/framework/core/js/src/forum/components/Search.tsx @@ -130,7 +130,7 @@ export default class Search extends Compone const searchLabel = extractText(app.translator.trans('core.forum.header.search_placeholder')); const isActive = !!currentSearch; - const shouldShowResults = !!(!this.loadingSources && this.searchState.getValue() && this.hasFocus); + const shouldShowResults = !!(this.searchState.getValue() && this.hasFocus); const shouldShowClearButton = !!(!this.loadingSources && this.searchState.getValue()); return (