Open ajenkul opened 9 years ago
Thanks @ajenkul I have never tried the library with ion-header-bar so I wouldn't be surprised if there were a few issues. I have been pretty busy lately but I may get around to it at some point in the future! Thanks!
You're welcome, I need a lot of custom directive for my project, hope get solution soon. Many thanks for you!
@ajenkul It works if you wrap ion-header-bar with
but you need to be sure nav-bar became "cached" when state changed. Same for each state you need ion-header-bar. There's an example of my code which works. <div nav-bar="{{currentState === '/who' ? 'active' : 'cached'}}">
<ion-header-bar class="has-tabs-top bar bar-header" align-title="center">
<div class="buttons">
<button class="back-button button-clear" ng-click="back()">
<i class="ion-chevron-left"></i>
</button>
</div>
<h2 class="title title-center header-item">{{title}}</h2>
</ion-header-bar>
</div>
@ilsaha can you elaborate. I have an ion-header and i m trying to do the same but it doesnt work
I've implemented scroll-sista plugin to my project. However, it doesn't works with ion-header-bar? Here my code: