My app has a static header. Meaning it remains the same in all views.
The problem is that when I use the <ion-nav-bar>
directive the header is animated every time the view changes.
On IOS it’s not that bad because the entire is sliding in, but on Android it looks like it flickers.
How can I disable the animation entirely?
I already tried using $ionicConfigProvider.navBar.transition('none');
in the app.config
section, but it actually made it worse (also flickers on IOS).
I created a simple codepen (the default transition appears to that of IOS, but if you open the developer console on chorme and change to an android device you can see the flickering).