From e1c02de32039262116779d43d1dcc32dce913d28 Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Thu, 3 Dec 2020 11:37:40 +0100 Subject: [PATCH] fix mention debounce --- lib/src/message_input.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/src/message_input.dart b/lib/src/message_input.dart index 1469e574..580a4f17 100644 --- a/lib/src/message_input.dart +++ b/lib/src/message_input.dart @@ -1087,7 +1087,7 @@ class MessageInputState extends State { offset: rejoin.length, ), ); - + _debounce.cancel(); _mentionsOverlay?.remove(); _mentionsOverlay = null; }, @@ -1294,6 +1294,7 @@ class MessageInputState extends State { padding: const EdgeInsets.all(8.0), child: ClipRRect( borderRadius: BorderRadius.circular(10), + clipBehavior: Clip.antiAlias, child: Stack( children: [ AspectRatio(