Imagine I have the following
div{
padding: 20px;
}
<div style="display:flex; background: gold; flex-direction: column;">
<textarea>Do NOT expand this</textarea>
<textarea class="expand">Expand this baby</textarea>
</div>
I want when content on textarea "expand" creates vertical overflow for it to expand parent div, not to create vertical scroll.