Hi,
Below, I'm posting my question again, as it was tagged as "answered" in a previous post and it was not answered.
Hi,
I'm using AngularJs with Ionic.
I want to have a header on top of a page, but I want it not to scroll when I have, for instance, a big list in the page. In other words, I want the list to scroll(or rest of page), but I want the header fixed on the top of the page.
I placed an HTML component on page, which has the following HTML code:
<!--
<ion-header-bar align-title="center" class="bar-positive"
<div class="buttons"
<button class="button icon-left ion-chevron-left button-clear" ng-click="gotoTelaInicial()"</button
<
<h1 class="title"Requisito</h1
<div class="buttons"
<button class="button icon-left ion-checkmark-round button-clear" ng-disabled=false</button
<
</ion-header-bar
--
I set the "show header" property of this page false, in order to show only the header that was created with the HTML shown above.
Below the header, I have a list with many itens, that scrolls the page.
The html code shown above creates a header with two buttons on the top of the page. I don't want this header to scroll when the rest of the page scrolls, for instance, when you have a big list with many itens in the page. How to make this header fixed, not scrolling, that is, the page scrolls "under" it and it stays fixed on top of the page?
Thanks