Vertical alignment of Items in Header on iPhone X
See original GitHub issueI’m using native-base to build the header of my app. Since I updated to version 2.7.1 the Items are displayed too high in the Header on iPhone X (see screenshot).
Here is how it looks on v2.7.1
Here is how I expect it to look (this is v2.3.9)
Notice how the search bar is now much closer to the notch.
To reproduce this just render the following view:
<Container>
<Header searchBar>
<Button transparent>
<Icon name="ios-people" />
</Button>
<Item>
<Icon name="ios-search" />
<Input placeholder="Search" />
</Item>
<Button transparent>
<Text>Search</Text>
</Button>
</Header>
</Container>
Versions: node: 9.11.2 npm: 5.6.0 react-native: 0.55.4 & 0.56 react: 16.3.2 & 16.4.1 native-base version: 2.7.1
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Position and align objects in Pages on iPhone - Apple Support
Align objects vertically or horizontally · Touch and hold one object, then tap the other objects you want to align. · Tap the...
Read more >Position and align objects in Pages on Mac - Apple Support
Align objects vertically or horizontally You can align objects so they line up along a vertical or horizontal axis. Click an object to...
Read more >Align and justify text in Pages on iPhone - Apple Support
then tap an alignment button. If you don't see the buttons, tap Text or Cell. Horizontal and vertical alignment buttons for text.
Read more >Add and remove headers and footers in Pages on iPhone
Add headers and footers · Tap the More button · Turn on Headers or Footers (or both). · Tap More Options at the...
Read more >Pages can't center text vertically on a p… - Apple Community
In Word, if you want to vertically center text, you select Format -> Document -> Layout and then choose "Centered" for Vertical Alignment....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
development
branch do not have up-to-date transpiled code either in package.json, modify main fromdist/src/index.js
tosrc/index.js
or transpile the code and then checkFixed with 2.7.2