-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Closed
Description
Current Behavior
providing scrollEnabled : true in TabNavigator doesn't make the tab bar scrollable.
export const Tabs = TabNavigator({
all: {
screen: TopicsFlatList,
navigationOptions: {
tabBarLabel: 'Feed',
tabBarIcon: ({ tintColor }) => <Icon name="list" size={35} color={tintColor} />,
},
},
world: {
screen: TopicsFlatList,
navigationOptions: {
tabBarLabel: 'world',
tabBarIcon: ({ tintColor }) => <Icon name="account-circle" size={35} color={tintColor} />
},
},
// .... more categories here
},{
'lazy': true,
'scrollEnabled': true,
'tabStyle': {
width: 60
},
},
);
Expected Behavior
Tab bar should be scrollable.
related discussions :
#86
#133 (comment)
Here is how it looks
Your Environment
| software | version |
|---|---|
| react-navigation | ^1.0.0-beta.11 |
| react-native | ^0.44.0 |
| node | v6.10.0 |
| npm or yarn | 4.1.2 |
Metadata
Metadata
Assignees
Labels
No labels
