diff --git a/src/SignaturePad.iOS/InkPresenter.cs b/src/SignaturePad.iOS/InkPresenter.cs index 10ca4b7..d30b685 100644 --- a/src/SignaturePad.iOS/InkPresenter.cs +++ b/src/SignaturePad.iOS/InkPresenter.cs @@ -28,6 +28,10 @@ private void Initialize () { Opaque = false; } + + // If you put SignaturePad inside a ScrollView, this line of code prevent that the gesture inside + // an InkPresenter are dispatched to the ScrollView below + public override bool GestureRecognizerShouldBegin(UIGestureRecognizer gestureRecognizer) => false; public override void TouchesBegan (NSSet touches, UIEvent evt) {