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

[UWP] Swipe gesture not being handled in VisualElementTracker #3098

Merged
merged 1 commit into from Jun 27, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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