To show border on the bottom of the active tab
No border is showing, indicator not working
Just make a router with tab scene .
<Tabs
key="tabbar"
lazy={true}
headerMode="none"
tabBarPosition="bottom"
swipeEnabled
showLabel={false}
activeTintColor="#fff"
activeBackgroundColor="#EF5350"
inactiveBackgroundColor="#EF5350"
indicatorStyle={{
backgroundColor: '#fff',
borderBottomColor: '#fff',
borderBottomWidth: 2
}}
>
It is not supported. Feel free to submit PR to support it.
Try using <Scene tabs> . Mine's working with that code.
<Scene
key = 'list'
tabs
tabBarPosition = 'top'
showLabel = {true}
title = 'List'
icon = {searchIcon}
tabBarStyle = {styles.tabBarStyle}
labelStyle = {styles.txtLabel}
indicatorStyle = {styles.indicatorStyle}
>
. . . . . .
</Scene>
I had the same problem as @aksonov at first. No matter what I sent to the indicatorStyle prop, its seemed to stay the default yellow.
My problem is I was trying to only override the color and not also the other properties. When I added the borderBottomWidth property, it started working for me.
Please try to reproduce it with Example project and latest version 4.0.0-beta.40. Feel free to open if the issue still exists