You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 27, 2022. It is now read-only.
Hey, I just released a new alpha 2.0.0-alpha.0 of the library. It's rewritten using react-native-gesture-handler and react-native-reanimated addresses a many platform specific bugs and performance problems. The documentation is updated as well.
Please try the new version and see if it addresses your issue. If not, please open a new issue following the issue template.
Current behaviour
When I switch between tabs, my underline color changes but it disappears when I'm done with pressing tab.
Expected behaviour
I would like to have green underline color of active tab, that will stay there until next tab is clicked
Code sample
renderHeader = (props) => {
return (<TabBar
{...props}
tabStyle={styles.tabBarStyle}
labelStyle={styles.tabBarHeader}
indicatorStyle={styles.tabBarIndicator}
style={styles.tabBar}
data={this.props}
animationEnabled={false}
pressColor={'green'}
/>);
}
renderScene = SceneMap({
first: FirstRoute,
second: SecondRoute,
third: ThirdRoute,
});
Your Environment
| react-native |
| react-native-tab-view |
| ios |
| npm |
The text was updated successfully, but these errors were encountered: