torgeadelin/react-native-animated-nav-tab-bar

activeBackgroundColor no longer working in RN 0.72

chris-hinds opened this issue · 1 comments

The only change I have made to my project was updating it to RN 0.72; now the activeBackgroundColor property on the tabOptions seems to have just stopped working.

Previously I had a white background for the active tab and now that color is not being applied.

<Tab.Navigator
      tabBarOptions={{
        activeTintColor: colors.text.secondary,
        inactiveTintColor: colors.lightText,
        activeBackgroundColor: colors.background.secondary,
        tabStyle: {
          borderRadius: 10,
        },
      }}

I have also tried overwriting colors.background.secondary with a hardcoded hex value and it still just doesn't affect the background color.

image

Stale issue message