In a desktop browser it looks fine, but on my iphone 5 there’s some extra margin on top of the subheader. Seems to be exactly equal to the device’s status bar area height.
I’m assuming this is a minor bug in the framework, but if it’s something I’m doing wrong please let me know. Is anyone else experiencing this? Thanks
Here’s how it looks on the phone:
Here’s how it’s supposed to look, from desktop browser:
Here’s my code:
<ion-view title="Share With A Few" class="create-share hide-tabs">
<ion-nav-buttons side="right">
<button class="button button-clear" ng-click="next()" ng-show="selectedCount > 0">
<i class="icon ion-arrow-right-c"></i>
</button>
</ion-nav-buttons>
<ion-header-bar class="bar-subheader">
<div class="item item-input-inset search-form">
<label class="item-input-wrapper">
<input type="text" placeholder="Search here and choose below" ng-model="searchStr">
</label>
{{ count }} Left
</div>
</ion-header-bar>
<ion-content scroll="true">
<!-- redacted -->
</ion-content>
I also encountered the same problem, and I feel it should be optimized for ios7’s status bar but did not distinguish between sub-header and header, is there any better way to solve this problem?
In my desktop browser and on an Android device the sub-header looks great. On my iPhone 6+, the Ionic sub-header is too tall. Did anyone find a fix to this?