Hi, i´m new to ionic and playing around with some demo.
I was wondering if there is a bug or if i did understand something wrong.
According to the documentation, a fixed header should be added above a ion-content tag. However, at my example it´s only working when i place the ion-header-bar inside my ion-content tag.
The footer works fine when placing after the closing ion-content tag.
Here is my example code:
<ion-view title="start">
<ion-nav-buttons side="left">
<button menu-toggle="left" class="button button-icon icon ion-navicon"></button>
</ion-nav-buttons>
<ion-content class="has-header">
<ion-header-bar align-title="left" class="bar-positive">
<div class="buttons">
<button class="button" ng-click="doSomething()">Left Button</button>
</div>
<h1 class="title">Title!</h1>
<div class="buttons">
<button class="button">Right Button</button>
</div>
</ion-header-bar>
Some Content...
</ion-content>
<ion-footer-bar align-title="left" class="bar-assertive">
<div class="buttons">
<button class="button">Left Button</button>
</div>
<h1 class="title">Title!</h1>
<div class="buttons" ng-click="doSomething()">
<button class="button">Right Button</button>
</div>
</ion-footer-bar>
Any help / explanation would be great.
Thanks and KR Solick