Clean state after search command. Closes #124
This commit is contained in:
parent
88d02ebb71
commit
21073f3f15
@ -100,8 +100,11 @@ class FindBar extends Component {
|
||||
|
||||
if (command.search) {
|
||||
this.setState({
|
||||
activeScope: SEARCH,
|
||||
placeholder: '',
|
||||
value: '',
|
||||
placeholder: PLACEHOLDER,
|
||||
activeScope: null,
|
||||
}, () => {
|
||||
this._input.blur();
|
||||
});
|
||||
|
||||
enteredParamValue && this.props.runCommand(SEARCH, { searchTerm: enteredParamValue });
|
||||
|
Loading…
x
Reference in New Issue
Block a user