summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.iOS
diff options
context:
space:
mode:
authorPaul DiPietro <pauldipietro@users.noreply.github.com>2016-10-26 17:11:58 (GMT)
committerRui Marinho <me@ruimarinho.net>2016-10-26 17:11:58 (GMT)
commita0fb20a075e89ddb8763faa1306f07041ea3d4fe (patch)
treeb35027444258882169967e24fdbafda446ddb890 /Xamarin.Forms.Platform.iOS
parentb4a46d482f4b511de7e829f1cfe16aa81057560a (diff)
downloadxamarin-forms-a0fb20a075e89ddb8763faa1306f07041ea3d4fe.zip
xamarin-forms-a0fb20a075e89ddb8763faa1306f07041ea3d4fe.tar.gz
xamarin-forms-a0fb20a075e89ddb8763faa1306f07041ea3d4fe.tar.bz2
[iOS] Add check for UIGestureRecognizerState.Cancelled when closing context action (#442)
Diffstat (limited to 'Xamarin.Forms.Platform.iOS')
-rw-r--r--Xamarin.Forms.Platform.iOS/ContextScrollViewDelegate.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.iOS/ContextScrollViewDelegate.cs b/Xamarin.Forms.Platform.iOS/ContextScrollViewDelegate.cs
index bc04ede..14f95a7 100644
--- a/Xamarin.Forms.Platform.iOS/ContextScrollViewDelegate.cs
+++ b/Xamarin.Forms.Platform.iOS/ContextScrollViewDelegate.cs
@@ -210,7 +210,7 @@ namespace Xamarin.Forms.Platform.iOS
void ClearCloserRecognizer(UIScrollView scrollView)
{
- if (_globalCloser == null)
+ if (_globalCloser == null || _globalCloser.State == UIGestureRecognizerState.Cancelled)
return;
var cell = GetContextCell(scrollView);