Utilizing Angular Material, I have implemented tabs within an md-dialog
. The dialog smoothly adjusts its height based on the content of the active tab during navigation. However, when utilizing an ng-if
directive to toggle visibility of content, there is no smooth animation for the change in dialog height. Is there a method to animate the height transition when showing and hiding elements inside the dialog?
For reference, here is a Codepen showcasing the tabs with a checkbox option to add content: