diff --git a/mobile/android/base/OuterLayout.java b/mobile/android/base/OuterLayout.java index d8b0e8d302b1..4a40b1a9ab4b 100644 --- a/mobile/android/base/OuterLayout.java +++ b/mobile/android/base/OuterLayout.java @@ -161,11 +161,11 @@ public class OuterLayout extends RelativeLayout { if (mDragHelper.shouldInterceptTouchEvent(event)) { return true; } - } - // Because while open the target layout is translated and draghelper does not catch it. - if (mIsOpen && mDragCallback.canInterceptEventWhileOpen(event)) { - return true; + // Because while open the target layout is translated and draghelper does not catch it. + if (mIsOpen && mDragCallback.canInterceptEventWhileOpen(event)) { + return true; + } } return false; }