code: function setMinimumHeight(element) {
    const copyContainer = element.$.copyContainer;
    const outerHeight = copyContainer.getBoundingClientRect().height;
    const style = getComputedStyle(copyContainer);
    const paddingTop = parseFloat(style.paddingTop);
    const paddingBottom = parseFloat(style.paddingBottom);
    const innerHeight = copyContainer.clientHeight - paddingTop - paddingBottom;
    const bordersPlusPadding = outerHeight - innerHeight;
    let minHeight = (element.minimumRows * element[lineHeightSymbol]) + bordersPlusPadding;
    minHeight = Math.ceil(minHeight);
    copyContainer.style.minHeight = minHeight + 'px';
  }
docs: Setting the minimumRows attribute translates into setting the minimum height on the text copy container.