summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.iOS
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.iOS')
-rw-r--r--Xamarin.Forms.Platform.iOS/ContextActionCell.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.iOS/ContextActionCell.cs b/Xamarin.Forms.Platform.iOS/ContextActionCell.cs
index 2e5925c7..cac9e9ef 100644
--- a/Xamarin.Forms.Platform.iOS/ContextActionCell.cs
+++ b/Xamarin.Forms.Platform.iOS/ContextActionCell.cs
@@ -87,7 +87,8 @@ namespace Xamarin.Forms.Platform.iOS
{
base.LayoutSubviews();
- if (_scroller == null || (_scroller != null && _scroller.Frame.Width == ContentView.Bounds.Width))
+ // Leave room for 1px of play because the border is 1 or .5px and must be accounted for.
+ if (_scroller == null || (_scroller.Frame.Width == ContentView.Bounds.Width && Math.Abs(_scroller.Frame.Height - ContentView.Bounds.Height) < 1))
return;
Update(_tableView, _cell, ContentCell);