From 6599d28676b8a69e38992bab19a8f94ed3a2d158 Mon Sep 17 00:00:00 2001 From: krille-chan Date: Mon, 20 May 2024 18:05:02 +0200 Subject: [PATCH] chore: Follow up new message animation --- lib/pages/chat/events/message.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/pages/chat/events/message.dart b/lib/pages/chat/events/message.dart index 8f10d616..dd7e995d 100644 --- a/lib/pages/chat/events/message.dart +++ b/lib/pages/chat/events/message.dart @@ -147,8 +147,10 @@ class Message extends StatelessWidget { return AnimatedSize( duration: FluffyThemes.animationDuration, curve: FluffyThemes.animationCurve, + clipBehavior: Clip.none, + alignment: ownMessage ? Alignment.bottomRight : Alignment.bottomLeft, child: animateIn - ? const SizedBox.shrink() + ? const SizedBox(height: 0, width: double.infinity) : Stack( children: [ Positioned(