[ENTER DESCRIPTION HERE - Please make sure to use the current naming conventions]
The side menu (drawer) is overlaid by main page, but I wanted is side menu should be on top of the main page. please help.

[FILL THIS OUT - It will be extremely helpful]
This is the behaviour of the SideMenu. I believe you can tweak it a bit using
type and animationType
https://wix.github.io/react-native-navigation/#/top-level-api?id=startsinglescreenappparams
drawer: {
// optional, add this if you want a side menu drawer in your app
left: {
// optional, define if you want a drawer from the left
screen: 'example.FirstSideMenu', // unique ID registered with Navigation.registerScreen
passProps: {}, // simple serializable object that will pass as props to all top screens (optional)
disableOpenGesture: false, // can the drawer be opened with a swipe instead of button (optional, Android only)
fixedWidth: 500 // a fixed width you want your left drawer to have (optional)
},
right: {
// optional, define if you want a drawer from the right
screen: 'example.SecondSideMenu', // unique ID registered with Navigation.registerScreen
passProps: {}, // simple serializable object that will pass as props to all top screens (optional)
disableOpenGesture: false, // can the drawer be opened with a swipe instead of button (optional, Android only)
fixedWidth: 500 // a fixed width you want your right drawer to have (optional)
},
style: {
// ( iOS only )
drawerShadow: true, // optional, add this if you want a side menu drawer shadow
contentOverlayColor: 'rgba(0,0,0,0.25)', // optional, add this if you want a overlay color when drawer is open
leftDrawerWidth: 50, // optional, add this if you want a define left drawer width (50=percent)
rightDrawerWidth: 50 // optional, add this if you want a define right drawer width (50=percent)
},
type: 'MMDrawer', // optional, iOS only, types: 'TheSideBar', 'MMDrawer' default: 'MMDrawer'
animationType: 'door', //optional, iOS only, for MMDrawer: 'door', 'parallax', 'slide', 'slide-and-scale'
// for TheSideBar: 'airbnb', 'facebook', 'luvocracy','wunder-list'
disableOpenGesture: false // optional, can the drawer, both right and left, be opened with a swipe instead of button
},
@guyca can you style the sidemenu the same in version 2?
I can't use fixedWidth in version2
Does the type of sidemenu applies to V2 also @guyca ?
Any news with this?


@guyca I am facing this issue on ios with React-native-navigation[V2]
What should i do
"navigation.js"
Navigation.setRoot({
root: {
sideMenu: {
left: {
component: {
id: "sideDrawer",
name: "SideMenu",
},
},
center: {
stack: {
options: {},
children: [{
component: {
name:"NewCard",
options: {
topBar: {
hideOnScroll: true,
title: {
text: "Homescreen",
color: "white"
},
leftButtons: [
{
id: "buttonOne",
icon: require("../assets/img/menu.png")
}
],
background: {
color: "#05B8CC"
},
drawBehind: false,
visible: true,
animate: true
},
}
}
}]
}
},
}
}
});
Same issue here on V2.
Any way to style it on iOS to be in front of the content ?
@rishabhSmartdata & @guyca Have you find any solution for this v2 Side Menu?
I am also facing the same issue.
Same issue here on V2.
Any news about this topic on V2 version ?
Most helpful comment
Does the type of sidemenu applies to V2 also @guyca ?