From e09e4af4d0fdc7ccf1e502721298443c24ace813 Mon Sep 17 00:00:00 2001 From: Matthew Richardson Date: Wed, 27 Jun 2018 11:30:27 +0100 Subject: [PATCH] Fix #3097 swipe gesture not being handled in VisualElementTracker. (#3098) Fixes #3097 --- Xamarin.Forms.Platform.UAP/VisualElementTracker.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Xamarin.Forms.Platform.UAP/VisualElementTracker.cs b/Xamarin.Forms.Platform.UAP/VisualElementTracker.cs index 46a52d1ccc9..3602483df42 100644 --- a/Xamarin.Forms.Platform.UAP/VisualElementTracker.cs +++ b/Xamarin.Forms.Platform.UAP/VisualElementTracker.cs @@ -622,7 +622,7 @@ void UpdatingGestureRecognizers() bool hasSwipeGesture = gestures.GetGesturesFor().GetEnumerator().MoveNext(); bool hasPinchGesture = gestures.GetGesturesFor().GetEnumerator().MoveNext(); bool hasPanGesture = gestures.GetGesturesFor().GetEnumerator().MoveNext(); - if (!hasPinchGesture && !hasPanGesture) + if (!hasSwipeGesture && !hasPinchGesture && !hasPanGesture) return; //We can't handle ManipulationMode.Scale and System , so we don't support pinch/pan on a scrollview