You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
go splitscreen at the first sign of an invite search
This commit is contained in:
@@ -104,7 +104,7 @@ var SearchableEntityList = React.createClass({
|
||||
}
|
||||
|
||||
return (
|
||||
<div className={ "mx_SearchableEntityList " + (this.state.results.length ? "mx_SearchableEntityList_expanded" : "") }>
|
||||
<div className={ "mx_SearchableEntityList " + (this.state.query.length ? "mx_SearchableEntityList_expanded" : "") }>
|
||||
{inputBox}
|
||||
<GeminiScrollbar className="mx_SearchableEntityList_listWrapper">
|
||||
<div autoshow={true} className="mx_SearchableEntityList_list">
|
||||
@@ -113,7 +113,7 @@ var SearchableEntityList = React.createClass({
|
||||
})}
|
||||
</div>
|
||||
</GeminiScrollbar>
|
||||
{ this.state.results.length ? <div className="mx_SearchableEntityList_hrWrapper"><hr/></div> : '' }
|
||||
{ this.state.query.length ? <div className="mx_SearchableEntityList_hrWrapper"><hr/></div> : '' }
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user