瀏覽代碼

explained example

talkol 9 年之前
父節點
當前提交
f444d4fe1e
共有 1 個檔案被更改,包括 3 行新增0 行删除
  1. 3
    0
      example/src/screens/SideMenu.js

+ 3
- 0
example/src/screens/SideMenu.js 查看文件

@@ -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
     });