React-native-navigation: Header is black when using large title

Created on 27 Dec 2019  路  1Comment  路  Source: wix/react-native-navigation

Issue Description

When enable Large title on iOS, the header has Black color and I can't find where to change in the document.

Wondering if whether anyone has this problem

Thank you

Steps to Reproduce / Code Snippets / Screenshots

My Top bar config:

   topBar: {
        title: {
          text: 'Home',
        },
        searchBar: true,
        searchBarPlaceholder: 'Search',
        largeTitle: {
          visible: true,
          fontSize: 30,
          color: 'white',
          fontFamily: 'Helvetica',
        },
      },

Demo:

Screenshot 2019-12-27 at 20 37 09

I was wonder whether because my MacOS is in dark theme, I changed my MacOS to light theme but the problem still happens

Environment

  • React Native Navigation version: 4.0.9
  • React Native version: 0.61.5
  • Platform(s) (iOS, Android, or both?): iOS
  • Device info (Simulator/Device? OS version? Debug/Release?): iPhoneX

Most helpful comment

Figure out myself by adding option drawBehind: true, to the topBar

>All comments

Figure out myself by adding option drawBehind: true, to the topBar

Was this page helpful?
0 / 5 - 0 ratings

Related issues

EliSadaka picture EliSadaka  路  3Comments

edcs picture edcs  路  3Comments

Chipped1 picture Chipped1  路  3Comments

kiroukou picture kiroukou  路  3Comments

yayanartha picture yayanartha  路  3Comments