[IMPROVEMENT] Auto search when text changes in directory textfield (#2547)

Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
This commit is contained in:
Alexandru Naiman 2020-11-03 14:40:33 +02:00 committed by GitHub
parent 77677b479f
commit 4b3223198a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ class DirectoryView extends React.Component {
}
onSearchChangeText = (text) => {
this.setState({ text });
this.setState({ text }, this.search);
}
// eslint-disable-next-line react/sort-comp