MOBILE-4442 messages: Recover animation once a bug has been solved

main
Pau Ferrer Ocaña 2024-09-05 17:57:29 +02:00
parent 404cbf7965
commit 647fdf8bf3
1 changed files with 3 additions and 5 deletions

View File

@ -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;