clear height flexbox properties when collapsing

so item doesn't maintain height given by resizing
pull/21833/head
Bruno Windels 2018-10-22 15:57:56 +02:00
parent 4d53e13a28
commit a69463e7fa
1 changed files with 1 additions and 1 deletions

View File

@ -344,7 +344,7 @@ const RoomSubList = React.createClass({
"mx_RoomSubList_nonEmpty": len && !this.state.hidden,
});
if (this.state.hidden) {
return <div className={subListClasses}>
return <div className={subListClasses} style={{flexBasis: "unset", flexGrow: "unset"}}>
{this._getHeaderJsx()}
</div>;
} else {