I’m trying use the Tab component to encapsulate all the application, but I need remove from the first tab the header, and in this case, push up the content. In Ionic 1 is very easy do it. I just need remove the code and add a class has-footer in the component <ion-content>
and everything works. It’s possible do it in Ionic V2?
Ionic: 2.0.0-beta.15
There is currently no way to do this, here is an issue on it (I recommend adding a comment if this is something you’d like):
https://github.com/driftyco/ionic2/issues/761
Also, the Ionic CLI is currently using a beta
version (this is how you run ionic
commands in the terminal), but the SDK itself is still in alpha
. When you run ionic info
from your project folder you get something similar to this:
Ionic Version: 2.0.0-alpha.46
Ionic CLI Version: 2.0.0-beta.15
The first one is responsible for the behavior of your app, so this is the version that would affect this issue. We plan on making this more clear, but there are some docs on it here: http://ionicframework.com/docs/v2/resources/using-npm/
Thanks @brandyshea for this reply. I created the comment there.
As a workaround you could just add the following style to your core.scss file:
ion-navbar-section {
display: none;
}
Ohhh thanks @joshmorony it fixes my issue with tabs!
Here and here