diff --git a/src/components/structures/RoomView.tsx b/src/components/structures/RoomView.tsx index 69d4cfc590..781fb94ddc 100644 --- a/src/components/structures/RoomView.tsx +++ b/src/components/structures/RoomView.tsx @@ -1852,6 +1852,8 @@ export default class RoomView extends React.Component { "mx_RoomView_statusArea_expanded": isStatusAreaExpanded, }); + // if statusBar does not exist then statusBarArea is blank and takes up unnecessary space on the screen + // show statusBarArea only if statusBar is present const statusBarArea = statusBar &&