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

A simple and customisable React Native component that implements an animated bottom tab bar for React Navigation.
MIT License
889 stars 102 forks source link

activeBackgroundColor no longer working in RN 0.72 #129

Closed chris-hinds closed 9 months ago

chris-hinds commented 1 year ago

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

github-actions[bot] commented 10 months ago

Stale issue message