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
 
52
 
53
     @Override
53
     @Override
54
     public void onClick(View v) {
54
     public void onClick(View v) {
55
+        if (isRunning()) {
56
+            return;
57
+        }
55
         if (isBackButton()) {
58
         if (isBackButton()) {
56
             handleBackButtonClick();
59
             handleBackButtonClick();
57
         } else if (isSideMenuButton()) {
60
         } else if (isSideMenuButton()) {