[V2][iOS] title and subtitle and styles from sideMenu
Problems with sideMenu
When I use the sideMenu the title and subtitle putted don't appear in iOS, also the styles and effects not work as for exemple animationType, openGesture, shouldStretchDrawer at least this don't had effect.
Steps to Reproduce / Code Snippets / Screenshots
Style in default options
sideMenu:
{
left:
{
width: 230,
animationType: 'parallax',
shouldStretchDrawer: false
},
openGestureMode: 'bezel'
}
SideMenu
Navigation.setStackRoot(componentId,
{
sideMenu:
{
left:
{
component:
{
name: 'app.Drawer'
},
},
center:
{
stack:
{
id: 'MAIN',
children:
[{
component:
{
name: 'app.Main',
options:
{
topBar:
{
title: { text: 'Title' },
subtitle: { text: 'subtilte' }
}
}
}
}],
}
}
}
});
iOS print's
Android print's

Environment
- React Native Navigation version: v2.2
- React Native version: v57.7
- Platform(s) (iOS, Android, or both?): iOS
- Device info (Simulator/Device? OS version? Debug/Release?): device | iOS version 12.1.1 | Debug
Try this:
Navigation.setStackRoot('MAIN', {
component:
{
name: 'app.Main',
options: {
animations: {
setStackRoot: {
enabled: false,
},
},
},
}
})
Navigation.mergeOptions(this.props.componentId, {
sideMenu: {
left: {
visible: false,
},
},
})
Hello @cjroth unfortunately this it is don't work.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe the issue is still relevant, please test on the latest Detox and report back. Thank you for your contributions.
The issue has been closed for inactivity.