I need assistance with adding a transition effect to a modal popup that automatically increases in height when content is loaded. I have tried various styles, but none of them seem to be working.
.tagModal{
overflow:hidden;
transition:transform 0.3s ease-out;
height:auto;
transform:scaleY(1);
transform-origin:top;
}
<div id="taggingModal" role="dialog" tabindex="-1" aria-labelledby="header42" class="slds-modal slds-modal_small">
<div class="slds-modal__container tagModal">
<div class="slds-modal__header" style="background-color:rgba(27, 82, 151, 1);padding:3px;border-top-left-radius: 5px; border-top-right-radius: 5px;">
<button class="slds-button slds-modal__close slds-button--icon-inverse" title="Close" onclick="handleTagManagerclose();" style="margin-top: 24px;width: 45px;margin-right: -3px;">
<svg class="slds-button__icon slds-button__icon--large" aria-hidden="true">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="{!URLFOR($Asset.SLDS, 'assets/icons/utility-sprite/svg/symbols.svg#close')}"/>
</svg>
<span class="slds-assistive-text">Close</span>
</button>
<h3 id="header42" style='color:white;font-size:12px;'>Tags</h3>
</div>
<div class="slds-modal__content slds-p-around--xxx-small">
<div id="globalTaggerId" style="font-size:12px !important;"/>
</div>
</div>
</div>
I am new to applying transitions and would appreciate any help on how to achieve this effect in the modal popup that opens on button click. Thank you!