Yuki Takei %!s(int64=4) %!d(string=hai) anos
pai
achega
dcb196c79a
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      packages/app/src/components/SearchTypeahead.tsx

+ 6 - 0
packages/app/src/components/SearchTypeahead.tsx

@@ -94,7 +94,13 @@ const SearchTypeahead: ForwardRefRenderFunction<IFocusable, Props> = (props: Pro
 
     setInput('');
     changeKeyword('');
+    setPages([]);
+
     focusToTypeahead();
+
+    if (onInputChange != null) {
+      onInputChange('');
+    }
   };
 
   /**