From 9f37a4c70da7cf29fe242adf5c23fccfe901a5d2 Mon Sep 17 00:00:00 2001 From: SergeyEzhin Date: Fri, 23 Sep 2022 23:05:33 +0300 Subject: [PATCH] [DE SSE mobile] Fix Bug 59034 --- apps/common/mobile/lib/view/Search.jsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/common/mobile/lib/view/Search.jsx b/apps/common/mobile/lib/view/Search.jsx index 6fb8d59b5..a5a66cfb2 100644 --- a/apps/common/mobile/lib/view/Search.jsx +++ b/apps/common/mobile/lib/view/Search.jsx @@ -116,7 +116,12 @@ class SearchView extends Component { expandable: true, backdrop: false, on: { - search: (bar, curval, prevval) => { + search: (sb, query, previousQuery) => { + const api = Common.EditorApi.get(); + + if(!query) { + api.asc_selectSearchingResults(false); + } }, } });