Yuken Tezuka %!s(int64=3) %!d(string=hai) anos
pai
achega
c7736b266b
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      packages/app/src/components/SearchTypeahead.tsx

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

@@ -166,6 +166,8 @@ const SearchTypeahead: ForwardRefRenderFunction<IFocusable, Props> = (props: Pro
   }, [onSearchError, searchError]);
 
   useEffect(() => {
+    // update input with Next Link
+    // update input workaround. see: https://github.com/ericgio/react-bootstrap-typeahead/issues/266#issuecomment-414987723
     if (typeaheadRef.current != null) {
       typeaheadRef.current.setState({
         text: keywordOnInit,