Keep a long reply region chip inside the composer quote

This commit is contained in:
zjs81 committed 2026-11-20 18:13:53 -07:00
1 parent bc0062363d
commit 3f4215a955
3 files changed
+47 -26

No files matched your search

+8
View File
@@ -479,10 +479,18 @@ void main() {
),
onDismiss: () {},
dismissTooltip: _l10n.chat_cancelReply,
// A long region chip, as a channel reply shows.
trailing: Text(
_l10n.channels_regionSetTo('north-west-valley'),
maxLines: 1,
overflow: TextOverflow.ellipsis,
),
),
),
);
await tester.pumpAndSettle();
expect(tester.takeException(), isNull);
expect(find.byTooltip(_l10n.chat_cancelReply), findsOneWidget);
await _type(tester, 'a' * 19);
expect(tester.takeException(), isNull);