Disable Ion-Nav-Bar Transition Ionic


#1

Hello guys,

I am using the ion-nav-bar directive as my application’s topbar. When the views changes, the navbar animates between the views. I don’t want the navbar to animate in my application. How can I disable this animation?
Thanks!


#2

You can override it in the config function of your app:

.config(function($stateProvider, $urlRouterProvider, $ionicConfigProvider) {
  $ionicConfigProvider.navBar.transition('none');
});