React-native-navigation: TopBar title centered after 2.21.1 upgrade

Created on 25 Jun 2019  路  3Comments  路  Source: wix/react-native-navigation

Issue Description

We're using a custom component in our topBar. After we upgraded to 2.21.1 from 2.17, the title moved from being left aligned to centered. I reverted the upgrade and the title went back over to the left. I tried setting alignment as well, but that had no effect.

Steps to Reproduce / Code Snippets / Screenshots

topBar: {
  title: {
    component: {
      name: Resources
    },
  },
...

Version 2.17
Screen Shot 2019-06-25 at 1 50 31 PM
Version 2.21.1
Screen Shot 2019-06-25 at 1 34 50 PM


Environment

  • React Native Navigation version: 2.21.1 (also tried 2.22)
  • React Native version: 0.57.0
  • Platform(s) (iOS, Android, or both?): iOS
  • Device info (Simulator/Device? OS version? Debug/Release?): Simulator & device, debug & release
iOS acceptebug good first task 馃彋 stale

Most helpful comment

This is also happening on IOS 13 now.

All 3 comments

This is also happening on IOS 13 now.

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

Related issues

yayanartha picture yayanartha  路  3Comments

swingywc picture swingywc  路  3Comments

nbolender picture nbolender  路  3Comments

bdrobinson picture bdrobinson  路  3Comments

switchtrue picture switchtrue  路  3Comments