소스 검색

revert SearchTypeahead so that not to focus

Yuki Takei 7 년 전
부모
커밋
ac73a682b3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/client/js/components/SearchTypeahead.js

+ 1 - 1
src/client/js/components/SearchTypeahead.js

@@ -43,7 +43,7 @@ export default class SearchTypeahead extends React.Component {
   componentDidMount() {
     // **MEMO** This doesn't work at this time -- 2019.05.13 Yuki Takei
     // It is needed to use Modal component of react-bootstrap when showing Move/Duplicate/CreateNewPage modals
-    this.typeahead.getInstance().focus();
+    // this.typeahead.getInstance().focus();
   }
 
   componentWillUnmount() {