From c8cfdde7837b2a3f524132d45ceeb52cc559c2dd Mon Sep 17 00:00:00 2001 From: woodpav <> Date: Tue, 6 Nov 2018 11:29:47 -0700 Subject: [PATCH] fixed Touchables on android --- .../src/main/java/com/wix/interactable/InteractableView.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/android/src/main/java/com/wix/interactable/InteractableView.java b/lib/android/src/main/java/com/wix/interactable/InteractableView.java index 7513bb9b..16f85aaf 100644 --- a/lib/android/src/main/java/com/wix/interactable/InteractableView.java +++ b/lib/android/src/main/java/com/wix/interactable/InteractableView.java @@ -201,7 +201,8 @@ public boolean onInterceptTouchEvent(MotionEvent ev) { this.isSwiping = this.isSwiping || isHSwipe || isVSwipe; - if (!isChildIsScrollContainer && dragEnabled && (horizontalOnly && isHSwipe || + if (this.isSwiping && !isChildIsScrollContainer && dragEnabled && + (horizontalOnly && isHSwipe || verticalOnly && isVSwipe || !horizontalOnly && !verticalOnly)) {