fix mention debounce

This commit is contained in:
Salvatore Giordano
2020-12-03 11:39:38 +01:00
parent 38687f59ef
commit e1c02de320
+2 -1
View File
@@ -1087,7 +1087,7 @@ class MessageInputState extends State<MessageInput> {
offset: rejoin.length,
),
);
_debounce.cancel();
_mentionsOverlay?.remove();
_mentionsOverlay = null;
},
@@ -1294,6 +1294,7 @@ class MessageInputState extends State<MessageInput> {
padding: const EdgeInsets.all(8.0),
child: ClipRRect(
borderRadius: BorderRadius.circular(10),
clipBehavior: Clip.antiAlias,
child: Stack(
children: <Widget>[
AspectRatio(