Skip to content

Commit b1b06c8

Browse files
author
yangyufei
committed
fix-touch-judge
1 parent 829006b commit b1b06c8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

library/src/main/java/jarvis/com/library/NestedTouchScrollingLayout.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,8 @@ public boolean onTouchEvent(MotionEvent event) {
293293

294294
if (!isParentDispatchTouchEvent ||
295295
getChildAt(0) == null ||
296-
!isTouchUnderChildView(event)) {
296+
(!isTouchUnderChildView(event) &&
297+
event.getAction() != MotionEvent.ACTION_MOVE)) {
297298
return super.onTouchEvent(event);
298299
}
299300
if (isAnimating()) {

0 commit comments

Comments
 (0)