Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NAVBAR] NavBarTitleImage not centred with backButtonImage on Android #2505

Closed
arribbar opened this issue Oct 13, 2017 · 2 comments
Closed

Comments

@arribbar
Copy link

arribbar commented Oct 13, 2017

Version

Tell us which versions you are using:

  • react-native-router-flux v4.?.? (v3 is not supported) v4.0.0-beta22
  • react-native v0.47.1

Expected behaviour

  • NavBarTitleImage is always centred

Actual behaviour

  • It works perfectly on iOS but not on Android
  • NavBarTitleImage is centred but when backButtonImage is displayed, NavBarTitleImage is moved on the right
  • Using renderNavTitle does the same

image

image

Steps to reproduce

For non-obvious bugs, please fork this component, modify Example project to reproduce your issue and include link here.

  1. Create a navBarTitleImage
  2. Go to a scene with back button
  3. NavBarTitleImage is not centred
@arribbar arribbar changed the title [NAVBAR] NavBarTitleImage not centred with backButtonImage [NAVBAR] NavBarTitleImage not centred with backButtonImage on Android Oct 13, 2017
@aksonov
Copy link
Owner

aksonov commented Oct 17, 2017

Please check latest master and PR #2491 (I've just merged it). Unfortunately I'm working on ios app only.

@aksonov
Copy link
Owner

aksonov commented Oct 17, 2017

Duplicate of #2467

@aksonov aksonov marked this as a duplicate of #2467 Oct 17, 2017
@aksonov aksonov closed this as completed Oct 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants