diff --git a/src/components/views/voip/CallView.tsx b/src/components/views/voip/CallView.tsx index 467196a68a..7cac682794 100644 --- a/src/components/views/voip/CallView.tsx +++ b/src/components/views/voip/CallView.tsx @@ -518,7 +518,7 @@ export default class CallView extends React.Component { } // if we're fullscreen, we don't want to set a maxHeight on the video element. - const maxVideoHeight = getFullScreenElement() ? null : ( + const maxVideoHeight = getFullScreenElement() || !this.props.maxVideoHeight ? null : ( this.props.maxVideoHeight - (HEADER_HEIGHT + BOTTOM_PADDING + BOTTOM_MARGIN_TOP_BOTTOM) ); contentView =