From 477bda5e89b2d809338725498ff2d2cb44ea3bbe Mon Sep 17 00:00:00 2001 From: Ayush Shekhar Date: Thu, 21 Apr 2022 18:21:53 +0530 Subject: [PATCH 1/2] fixed reaction card name text overflow issue --- .../stream_chat_flutter/lib/src/message_reactions_modal.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/stream_chat_flutter/lib/src/message_reactions_modal.dart b/packages/stream_chat_flutter/lib/src/message_reactions_modal.dart index 98e64c255..2127a98da 100644 --- a/packages/stream_chat_flutter/lib/src/message_reactions_modal.dart +++ b/packages/stream_chat_flutter/lib/src/message_reactions_modal.dart @@ -236,6 +236,8 @@ class MessageReactionsModal extends StatelessWidget { reaction.user!.name.split(' ')[0], style: chatThemeData.textTheme.footnoteBold, textAlign: TextAlign.center, + overflow: TextOverflow.ellipsis, + maxLines: 1, ), ], ), From 01341d7296facf53b76d3c12ed5180a34073905b Mon Sep 17 00:00:00 2001 From: Ayush Shekhar Date: Thu, 21 Apr 2022 18:23:34 +0530 Subject: [PATCH 2/2] Updated changelog --- packages/stream_chat_flutter/CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/stream_chat_flutter/CHANGELOG.md b/packages/stream_chat_flutter/CHANGELOG.md index 441edc1a0..7f607d5c9 100644 --- a/packages/stream_chat_flutter/CHANGELOG.md +++ b/packages/stream_chat_flutter/CHANGELOG.md @@ -1,3 +1,9 @@ +## Upcoming + +🐞 Fixed + +- [[#1067]](https://github.com/GetStream/stream-chat-flutter/issues/1067): Fix name text overflow in reaction card. + ## 3.6.1 - Updated `stream_chat_flutter_core` dependency to [`3.6.1`](https://pub.dev/packages/stream_chat_flutter_core/changelog).