don't dismiss if pan is over actionsheet
This commit is contained in:
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…
Reference in New Issue