Skip to content

Commit

Permalink
Merge pull request Yalantis#157 from petalvlad/master
Browse files Browse the repository at this point in the history
Disallow canceling touches in subviews
  • Loading branch information
AEugene committed Jun 7, 2016
2 parents 1b29ffa + 5f7e0a9 commit 4e6f05c
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -85,6 +85,7 @@ public class DraggableCardView: UIView, UIGestureRecognizerDelegate {
addGestureRecognizer(panGestureRecognizer)
panGestureRecognizer.delegate = self
tapGestureRecognizer = UITapGestureRecognizer(target: self, action: #selector(DraggableCardView.tapRecognized(_:)))
tapGestureRecognizer.cancelsTouchesInView = false
addGestureRecognizer(tapGestureRecognizer)
}

Expand Down

0 comments on commit 4e6f05c

Please sign in to comment.