diff --git a/src/components/readmoore/readmore.animations.ts b/src/components/readmoore/readmore.animations.ts index 9c54dc15dfbb0c0bd60bb00d3f46a042d9663ce5..14a11e870249e49e2db2a18721fa10e6289524d1 100644 --- a/src/components/readmoore/readmore.animations.ts +++ b/src/components/readmoore/readmore.animations.ts @@ -13,11 +13,13 @@ export const readmoreAnimations : AnimationTriggerMetadata = trigger('collapseSt { params : { collapsedHeight : 45, fullHeight : 200 } } ), state('visible', - style({ 'height' : '{{ fullHeight }}px' }), + style({ 'height' : '*' }), { params : { collapsedHeight : 45, fullHeight : 200 } } ), transition('collapsed => visible',[ - animate('180ms') + animate('180ms', style({ + 'height' : '{{ fullHeight }}px' + })) ]), transition('visible => collapsed',[ animate('180ms')