diff --git a/Sources/Views/Cells/MediaMessageCell.swift b/Sources/Views/Cells/MediaMessageCell.swift index 6363e989..4b340558 100644 --- a/Sources/Views/Cells/MediaMessageCell.swift +++ b/Sources/Views/Cells/MediaMessageCell.swift @@ -84,7 +84,7 @@ open class MediaMessageCell: MessageContentCell { /// Handle tap gesture on contentView and its subviews. open override func handleTapGesture(_ gesture: UIGestureRecognizer) { - let touchLocation = gesture.location(in: self) + let touchLocation = gesture.location(in: imageView) switch true { case imageView.frame.contains(touchLocation):