我如何在本机导航v2上将sideBar覆盖在topBar上

时间:2019-06-24 18:51:08

标签: react-native react-native-android react-native-navigation wix-react-native-navigation react-native-navigation-v2

我已经阅读了rnn wix文档,但似乎找不到任何内容。我附上了我目前所拥有图像的链接。 但是我需要sideMenu覆盖topBar,而是在它下面打开。

图片:https://prntscr.com/o636j4

    root: {
        stack: {
            id: 'App',
            children: [
                {
                    sideMenu: {
                        id: "sideMenu",
                        left: {
                            component: {
                                id: "Drawer",
                                name: "flex.Drawer"
                            },
                            width: 260,
                            height: 270,
                            visible: false,
                            enabled: false
                        },
                        center: {
                            stack: {
                                id: "AppRoot",
                                children: [{
                                    component: {
                                        id: "EditProfile",
                                        name: "flex.EditProfile",

                                    }
                                }]
                            }
                        },
                        // right: {
                        //     component: {}
                        // }
                    }
                }
            ],
        }
    }
})```

I expect that the side Menu opens on top of the navBar.

0 个答案:

没有答案