Skip to content
This repository was archived by the owner on Dec 3, 2024. It is now read-only.

Commit 45ce322

Browse files
authored
Merge pull request #6 from fedyk/patch-1
[Android] `onChangeQuery` is not called
2 parents 81de8c9 + dd4099a commit 45ce322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SearchBar.android.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export default class SearchBar extends React.PureComponent {
6060
}
6161

6262
_handleClear = () => {
63-
this.setState({ text: '' });
63+
this._handleChangeText('')
6464
};
6565
_handleChangeText = text => {
6666
this.setState({ text });

0 commit comments

Comments
 (0)