Skip to content

Commit

Permalink
Flyout no longer interferes with cells that are moving
Browse files Browse the repository at this point in the history
  • Loading branch information
Clancey committed Mar 19, 2013
1 parent 6a702be commit eb9fa9d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion FlyoutNavigation/OpenMenuGestureRecognizer.cs
Expand Up @@ -27,7 +27,9 @@ public OpenMenuGestureRecognizer (NSObject target, Selector action,FlyoutNavigat
{
Parent = parent;
this.ShouldReceiveTouch += (sender,touch)=> {
if(touch.View is UISlider || touch.View is MPVolumeView)
//Ugly hack to ignore touches that are on a cell that is moving...
bool isMovingCell = touch.View.ToString().IndexOf("UITableViewCellReorderControl",StringComparison.InvariantCultureIgnoreCase) > -1;
if(touch.View is UISlider || touch.View is MPVolumeView || isMovingCell)
return false;
return Parent.shouldReceiveTouch(sender,touch);
};
Expand Down

0 comments on commit eb9fa9d

Please sign in to comment.