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