React-native-navigation: Styling Tab Bar - tint overrides background color

Created on 25 Aug 2016  路  7Comments  路  Source: wix/react-native-navigation

This issue was originally opened in react-native-controllers

Have I missed something, or is the iOS tint effect overriding the value entered for "tabBarBackgroundColor"?

cc0000 is rendered as #bf1212

ffffff is rendered as #ebebeb

Trying to set the background to absolute white, but always rendering grey.

v2 馃彋 stale

Most helpful comment

@mobinni try to add tabBarTranslucent: false to tabsStyle like this

  Navigation.startTabBasedApp({
    tabs,
    tabsStyle: {
      tabBarBackgroundColor: '#000',
      tabBarTranslucent: false,
    },
  })

All 7 comments

Hm, I think this is happened by apply UIVisualEffect under tab bar. I'm disable it in my app 馃槃

@savelichalex how you disabled? using xcode?

@hackable what exactly is the fix? A bit more context would be appreciated

@mobinni try to add tabBarTranslucent: false to tabsStyle like this

  Navigation.startTabBasedApp({
    tabs,
    tabsStyle: {
      tabBarBackgroundColor: '#000',
      tabBarTranslucent: false,
    },
  })

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest Detox and report back. Thank you for your contributions.

The issue has been closed for inactivity.

Was this page helpful?
0 / 5 - 0 ratings