All Animations extend the
However, the Push and Zoom Animations further extend
Animation by using the
stackChildren options and enable you to stack animations.
To stack entering and exiting child elements within the same block container, set the
stackChildren property to
true. The stack effect is most suitable for replacing an existing child element with a new one.
stackChildren is set to
true, the Push and Zoom Animations dynamically calculate the size of their animation container based on the size of the entering child, while rendering both animations in the same container.