We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e65bd6 commit b21d419Copy full SHA for b21d419
cardstackview/src/main/java/com/yuyakaido/android/cardstackview/internal/CardContainerView.java
@@ -84,9 +84,14 @@ public boolean onTouchEvent(MotionEvent event) {
84
switch (MotionEventCompat.getActionMasked(event)) {
85
case MotionEvent.ACTION_DOWN:
86
handleActionDown(event);
87
+ getParent().getParent().requestDisallowInterceptTouchEvent(true);
88
break;
89
case MotionEvent.ACTION_UP:
90
handleActionUp(event);
91
+ getParent().getParent().requestDisallowInterceptTouchEvent(false);
92
+ break;
93
+ case MotionEvent.ACTION_CANCEL:
94
95
96
case MotionEvent.ACTION_MOVE:
97
handleActionMove(event);
0 commit comments