Browse Source

Reject user interaction until animation stoped (#3673)

Thememont 6 years ago
parent
commit
2c0fa0eda6

+ 3
- 0
android/app/src/main/java/com/reactnativenavigation/views/LeftButton.java View File

@@ -52,6 +52,9 @@ class LeftButton extends MaterialMenuDrawable implements View.OnClickListener {
52 52
 
53 53
     @Override
54 54
     public void onClick(View v) {
55
+        if (isRunning()) {
56
+            return;
57
+        }
55 58
         if (isBackButton()) {
56 59
             handleBackButtonClick();
57 60
         } else if (isSideMenuButton()) {