always show clear button in search box when focused
This commit is contained in:
parent
c70736fe00
commit
122e15156a
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ module.exports = React.createClass({
|
|||
if (this.props.collapsed) {
|
||||
return null;
|
||||
}
|
||||
const clearButton = this.state.searchTerm.length > 0 ?
|
||||
const clearButton = !this.state.blurred ?
|
||||
(<AccessibleButton key="button"
|
||||
className="mx_SearchBox_closeButton"
|
||||
onClick={ () => {this._clearSearch("button"); } }>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue