Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
Fix #3097 swipe gesture not being handled in VisualElementTracker. (#…
Browse files Browse the repository at this point in the history
…3098) Fixes #3097
  • Loading branch information
Matthew Richardson authored and rmarinho committed Jun 27, 2018
1 parent 901f0e0 commit e09e4af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Xamarin.Forms.Platform.UAP/VisualElementTracker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ void UpdatingGestureRecognizers()
bool hasSwipeGesture = gestures.GetGesturesFor<SwipeGestureRecognizer>().GetEnumerator().MoveNext();
bool hasPinchGesture = gestures.GetGesturesFor<PinchGestureRecognizer>().GetEnumerator().MoveNext();
bool hasPanGesture = gestures.GetGesturesFor<PanGestureRecognizer>().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
Expand Down

0 comments on commit e09e4af

Please sign in to comment.