Fix clicking the background of the tag panel not clearing the filter

Fixes https://github.com/vector-im/element-web/issues/12988
This commit is contained in:
Travis Ralston 2020-08-27 14:17:55 -06:00
parent 8a5dc7edd7
commit bbd343f414

View file

@ -164,7 +164,7 @@ const TagPanel = createReactClass({
); );
} }
return <div className={classes}> return <div className={classes} onClick={this.onClearFilterClick}>
<div className="mx_TagPanel_clearButton_container"> <div className="mx_TagPanel_clearButton_container">
{ clearButton } { clearButton }
</div> </div>