Various fixes

This commit is contained in:
Ilya Laktyushin
2022-07-10 11:04:10 +02:00
parent c55a66eba0
commit 028f9ff731
2 changed files with 22 additions and 9 deletions

View File

@@ -234,7 +234,7 @@ final class AttachmentContainer: ASDisplayNode, UIGestureRecognizerDelegate {
}
}
if translation > 40.0, let shouldCancelPanGesture = self.shouldCancelPanGesture, shouldCancelPanGesture() {
if !self.isExpanded, translation > 40.0, let shouldCancelPanGesture = self.shouldCancelPanGesture, shouldCancelPanGesture() {
self.cancelPanGesture()
return
}