const maxHeight = (toBottomBoundary < this.props.maxHeight || !this.props.maxHeight)
            ? toBottomBoundary
            : this.props.maxHeight;