Skip to content
Permalink
Browse files

Disable tableview scroll when pan gesture recognizer is triggered

  • Loading branch information...
Nicolas Bichon
Nicolas Bichon committed Apr 17, 2019
1 parent 11127bd commit 2628d01ea4489625a8fddd8bb2ccbc2bd19488c0
Showing with 1 addition and 1 deletion.
  1. +1 −1 Remember/Remember/Classes/View/PanColorView.swift
@@ -207,6 +207,6 @@ extension PanColorView: UIGestureRecognizerDelegate {
}

func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer) -> Bool {
return otherGestureRecognizer.isKind(of: UIPanGestureRecognizer.self)
return false
}
}

0 comments on commit 2628d01

Please sign in to comment.
You can’t perform that action at this time.