diff --git a/lib/src/message_input.dart b/lib/src/message_input.dart index c8457fdb..c8950cf1 100644 --- a/lib/src/message_input.dart +++ b/lib/src/message_input.dart @@ -612,8 +612,8 @@ class MessageInputState extends State { } Widget _buildAttachments() { - return Container( - height: 76.0, + return LimitedBox( + maxHeight: 76.0, child: ListView( scrollDirection: Axis.horizontal, children: _attachments