Subheader ion-nav-view ion-content

I’m upgrading my project to bèta and I’m having the following issue.
I placed a div class=“bar bar-subheader”> in my ion-view
before the upgrade there was an has-subheader=“true” in my ion-content and everything was working fine.
after the upgrade my ion-list jumps under the subheader. And changing the has-subheader has no effect.

Use <ion-header-bar class="bar-subheader">

2 Likes

That fixed it, thanks for the super fast reply.

Hi. I am on beta8.

To add a title, the docs says :

<ion-header-bar class="bar-subheader bar-dark">
  <h2 class="title">Authentification</h2>
</ion-header-bar>

But for me, the bar works fine but the title don’t appear.
I replaced H2 by H1 to do it work :

<ion-header-bar class="bar-subheader bar-dark">
  <h1 class="title">Authentification</h1>
</ion-header-bar> 

Is a documentation error ? Or there is an other thing that don’t work properly ?