mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 02:05:45 +03:00
always show clear button in search box when focused
This commit is contained in:
parent
4ae4e68967
commit
7c97078764
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ module.exports = createReactClass({
|
|||
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…
Reference in a new issue