Animation bug when changing view

I have a weird UI bug on one of my transition in my app.
When I click on the magnifier icon in my navbar (which is a simple link to another view), the first time the “Analyses” view is loaded, there is a blank in the navbar.
The second time I click on the magnifier, everything is fine.
This is strange because this is the only transition which do this.
Here is the animation of the problem :

Any idea ?

Hmm, interesting. Do you mind posting some code samples or even a codepen (or plnker)?