diff --git a/src/components/structures/RoomSubList.js b/src/components/structures/RoomSubList.js index e8cf5c4273..8a017c9252 100644 --- a/src/components/structures/RoomSubList.js +++ b/src/components/structures/RoomSubList.js @@ -371,8 +371,12 @@ const RoomSubList = React.createClass({ ; } else { const heightEstimation = (len * 40) + 31; + const style = { + flexBasis: `${heightEstimation}px`, + maxHeight: `${heightEstimation}px`, + }; const GeminiScrollbarWrapper = sdk.getComponent("elements.GeminiScrollbarWrapper"); - return
+ return
{this._getHeaderJsx()} { content }