make filter feed transparent when not focussed

This commit is contained in:
Bruno Windels 2019-09-10 10:58:44 +02:00 committed by David Baker
parent b328fcb7e3
commit 31682b61ce
2 changed files with 5 additions and 1 deletions

View file

@ -139,7 +139,7 @@ module.exports = React.createClass({
this.props.placeholder;
const className = this.props.className || "";
return (
<div className="mx_SearchBox mx_textinput">
<div className={classNames("mx_SearchBox", "mx_textinput", {"mx_SearchBox_blurred": this.state.blurred})}>
<input
key="searchfield"
type="text"