diff --git a/lib/src/message_widget.dart b/lib/src/message_widget.dart index 0c108681..bc6646c5 100644 --- a/lib/src/message_widget.dart +++ b/lib/src/message_widget.dart @@ -291,7 +291,9 @@ class _MessageWidgetState extends State { type: MaterialType.transparency, child: Portal( child: InkWell( - onLongPress: () => onLongPress(context), + onLongPress: widget.message.isDeleted && !isFailedState + ? null + : () => onLongPress(context), child: Padding( padding: widget.padding ?? EdgeInsets.all(8), child: Transform(