Skip to content

Title is not vertically centered in <Navigator.NavigationBar> when using custom height #9174

@jd327

Description

@jd327

When using custom height of 50, this is what I get for <Navigator.NavigationBar style={{height: 50}}> (as you can see it's not vertically centered):

normal

When using a negative marginTop to adjust both the back button and the title, it cuts off the top of the back button:

negative-margin

What's the proper way to fix this (preferably without negative margin)?

RN 0.30 / Mac OS X 10.11.5 / iPhone 6 / iOS 9.3

P.S: I could only find this other issue, but it's not too helpful: #3142

Metadata

Metadata

Assignees

No one assigned

    Labels

    Ran CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions