talkol před 9 roky
rodič
revize
f444d4fe1e
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. 3
    0
      example/src/screens/SideMenu.js

+ 3
- 0
example/src/screens/SideMenu.js Zobrazit soubor

@@ -35,6 +35,9 @@ export default class SideMenu extends Component {
35 35
       side: 'left',
36 36
       animated: true
37 37
     });
38
+    // push/pop navigator actions affect the navigation stack of the current screen only.
39
+    // since side menu actions are normally directed at sibling tabs, push/pop will
40
+    // not help us. the recommended alternative is to use deep links for this purpose
38 41
     this.props.navigator.handleDeepLink({
39 42
       link: "tab2/example.PushedScreen"
40 43
     });