don't dismiss if pan is over actionsheet

pull/1/head
Michael Kirk 7 years ago
parent 41af4f8c9d
commit 093a5eaa68

@ -445,6 +445,11 @@ class MessageActionSheetView: UIView, MessageActionViewDelegate {
actionStackView.autoPinToSuperviewEdges()
self.clipsToBounds = true
// Prevent panning from percolating to the superview, which would
// cause us to dismiss
let panGestureSink = UIPanGestureRecognizer(target: nil, action: nil)
self.addGestureRecognizer(panGestureSink)
}
required init?(coder aDecoder: NSCoder) {

Loading…
Cancel
Save