Kaynağa Gözat

always calls unmount on pop now

Yedidya Kennard 8 yıl önce
ebeveyn
işleme
e22feae634

+ 2
- 0
android/app/src/main/java/com/reactnativenavigation/views/ScreenStack.java Dosyayı Görüntüle

@@ -60,6 +60,8 @@ public class ScreenStack extends FrameLayout {
60 60
         if(!stack.isEmpty()) {
61 61
             addView(stack.peek().view, 0);
62 62
         }
63
+
64
+        ReflectionUtils.setBooleanField(popped.view.getReactRootView(), "mAttachScheduled", false);
63 65
         removeView(popped.view);
64 66
         return popped.screen;
65 67
     }