Is there a way to smoothly slide-in an element in a row and have the other elements adjust their widths accordingly while maintaining their relative sizes?
<div style="width: 100%; display: flex">
<div id="firstColumn" style="flex-grow: 1"></div>
<div id="secondColumn" style="flex-grow: 2"></div>
<div id="thirdColumn" style="flex-grow: 1" v-if="showColumn"></div>
</div>
I attempted to use vue transition for the third column (check out CodePen), but the animation doesn't behave as expected, causing the other two columns to abruptly snap into place. Is there a more elegant solution to achieve this effect?