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

Title prop and rightTitle are not aligning correctly. #3140

Closed
ejm01 opened this issue Jul 21, 2018 · 2 comments
Closed

Title prop and rightTitle are not aligning correctly. #3140

ejm01 opened this issue Jul 21, 2018 · 2 comments

Comments

@ejm01
Copy link

ejm01 commented Jul 21, 2018

Versions

  • react-native-router-flux 4.0.0-beta.31
  • react-native v0.56.0

Expected behaviour

The title and rightTitle is centered and aligned at the top of the application next to the back button (which is in the correct place)

Actual behaviour

Title and rightTitle are beneath desired position and will not overlap.

Steps to reproduce

I created the app with react-native init projectName
Create a scene with a title prop. Inside the component create rightTitle with:
Actions.refresh({ rightTitle: "Create", onRight: () => { this.toggleModal(); } });

@ejm01
Copy link
Author

ejm01 commented Jul 21, 2018

screen shot 2018-07-20 at 7 43 13 pm

@ejm01
Copy link
Author

ejm01 commented Jul 23, 2018

Fix is hideNavBar in parent scene.

@ejm01 ejm01 closed this as completed Jul 23, 2018
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

1 participant