From 647fdf8bf3fd998126b4249951646a2caf1d0dc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Thu, 5 Sep 2024 17:57:29 +0200 Subject: [PATCH] MOBILE-4442 messages: Recover animation once a bug has been solved --- src/core/components/message/message.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/core/components/message/message.ts b/src/core/components/message/message.ts index 99b4d9b2e..aeb18b6ae 100644 --- a/src/core/components/message/message.ts +++ b/src/core/components/message/message.ts @@ -46,11 +46,9 @@ export class CoreMessageComponent implements OnInit { protected deleted = false; // Needed to fix animation to void in Behat tests. - // @TODO Recover the animation using native css or wait for Angular 13.1 - // where the bug https://github.com/angular/angular/issues/30693 is solved. - // @HostBinding('@coreSlideInOut') get animation(): string { - // return this.isMine ? '' : 'fromLeft'; - // } + @HostBinding('@coreSlideInOut') get animation(): string { + return this.isMine ? '' : 'fromLeft'; + } @HostBinding('class.is-mine') isMine = false;