Ng-show cause erro of position in ion-content

I was using ng-if to “show | hide a” subheader. But I was experiencing an error, then changed by ng-show.

ng-show causes a positioning error in ion-content, making it to be the beginning of the screen, below the header and subheader.

Anyone ever had this problem?