mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-19 18:29:23 +00:00
fix search bug
This commit is contained in:
@@ -100,7 +100,7 @@ class Search extends Component {
|
||||
// not chrome:compositionstart -> compositionend -> onChange
|
||||
// The onChange event will setState and change input value, then setTimeout to initiate the search
|
||||
setTimeout(() => {
|
||||
this.onSearch(this.state.searchMode === SEARCH_MODE.NORMAL);
|
||||
this.onSearch(true);
|
||||
}, 1);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user