Ionic-framework: bug: previous page nav bar stays for a while until transition animation finish

Created on 7 Sep 2019  路  6Comments  路  Source: ionic-team/ionic-framework

hi, I'm trying to use ion-back-button on my nav bar and when I navigate to other pages everything goes fine. but my problem is that when I click on the back button in pushed page after showing prev page, the last pages nav header stays for a while until transition animation finish

is it a bug or if anyone knows how to solve this problem please tell me how to solve it

triage

All 6 comments

I had the same problem in iOS mode. Turns out, it was just because you specifically need to specify your ion-toolbar directly inside your ion-header for the animation to work as expected. You can't put it inside a custom component.

it fixed when I moved my ion-toolbar to pages but is there any way that I can use a general custom component for the header?
@michielcrabbe96

I have been struggling with this myself. But as far as I know of, it's not possible. If you want your back animation to work on iOS, that is.

On Android there should be no problems.

I had the same problem in iOS mode. Turns out, it was just because you specifically need to specify your ion-toolbar directly inside your ion-header for the animation to work as expected. You can't put it inside a custom component.

I have been struggling with this myself. But as far as I know of, it's not possible. If you want your back animation to work on iOS, that is.

On Android there should be no problems.

yes it's a challenging bug I think. btw thanks. I hope they fix it soon

Thanks for the issue. I am going to close this as a duplicate of https://github.com/ionic-team/ionic/issues/18130.

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SebastianGiro picture SebastianGiro  路  3Comments

giammaleoni picture giammaleoni  路  3Comments

BilelKrichen picture BilelKrichen  路  3Comments

alan-agius4 picture alan-agius4  路  3Comments

RobFerguson picture RobFerguson  路  3Comments