react-native-navigation
react-native-navigation copied to clipboard
[V2][IOS] bottomTab Title do not show
Issue Description
[RNN2 IOS bottomTab Title do not show . android no problem ]
Steps to Reproduce / Code Snippets / Screenshots
Navigation.setRoot({
bottomTabs: {
children: [
{
stack: {
children: [
{
component: {
name: 'navigation.GoodsScreen',
passProps: {
},
options: {
topBar: {
visible: false,
animate: false,
}
}
}
}
],
options: {
bottomTab: {
title: "aaa",
icon: require('../images/transport.png'),
testID: 'FIRST_TAB_BAR_BUTTON1',
}
}
}
},
{
stack: {
children: [
{
component: {
name: 'navigation.FunctionScreen',
passProps: {
},
options: {
topBar: {
visible: false,
animate: false,
}
}
}
}
],
options: {
bottomTab: {
title: 'bbb',
icon: require('../images/function.png'),
testID: 'FIRST_TAB_BAR_BUTTON2'
}
}
}
},
{
stack: {
children: [
{
component: {
name: 'navigation.UserScreen',
passProps: {
},
options: {
topBar: {
visible: false,
animate: false,
}
}
}
}
],
options: {
bottomTab: {
title: 'ccc',
icon: require('../images/contacts.png'),
testID: 'FIRST_TAB_BAR_BUTTON3'
}
}
}
}
],
options: {
bottomTabs: {
hideBackButtonTitle:false,
tabColor: 'rgba(163,165,168,1)',
selectedTabColor: 'rgba(38,152,243,1)',
backgroundColor: 'white',
fontSize: 12,
testID: 'BOTTOM_TABS_ELEMENT'
},
topBar:{
visible: false,
}
}
}
});

Environment
- React Native Navigation version: 2.0.2241
- React Native version: 0.54.4
- Platform(s) (iOS, Android, or both?): iOS
@yogevbd Seems like this reproduces in the playground app as well. If this is a regression, let's improve our coverage.
@qiepeipei Fixed. thanks
Upgrade the latest version is no problem . thank