I may have found a bug
When I have , then the always gets a 20px left spacing (style=“left:20px”) after a tab change.
does not contain buttons, but a -not always visible- searchbox which overlays the title.
The code looks like this:
[code]
<ion-nav-title><span ng-if="!search.show" translate>Horses</span></ion-nav-title>
[/code]
If this isn’t a bug, I would like to know how I can solve it. Currently I’m using this workaround:
[code]$scope.$on(’$stateChangeSuccess’, function(event, toState){
//fix bug in title margin when using ‘left’ buttons searchbar in header
var title = angular.element(document.getElementsByClassName(“title”));
if(toState.name == ‘tab.horses’)
title.addClass(‘fixTitleMargin’);
else
title.removeClass(‘fixTitleMargin’);
});[/code]
But it’s not ideal since the timing is never right and you see some flickering