Skip to content

Commit

Permalink
Fixes #354
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiMisiukevich committed Dec 23, 2020
1 parent e596626 commit f3af054
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions PanCardView.Droid/CardsViewRenderer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ private bool CheckTouchHandled(float xDelta, float yDelta)
(yDeltaAbs > xDeltaAbs &&
yDeltaAbs > Element.MoveThresholdDistance);

if (!Element.IsPanInteractionEnabled || !Element.IsUserInteractionEnabled)
isHandled = false;

Element.IsUserInteractionRunning |= isHandled;
Parent?.RequestDisallowInterceptTouchEvent(isHandled);
return isHandled;
Expand Down

0 comments on commit f3af054

Please sign in to comment.