You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Ionic 4] navigateBack goes back leaving previous page in front #17194
After navigating to a page with navigateForward, if I immediately go back using navigateBack (for example, in ionViewDidEnter or in the constructor) the child page will be invisible but in front of the previous screen, which blocks the UI interaction.
Expected behavior:
I expect to go back from the child page and interact with the parent page normally without an invisible blocking layout over the page.
I'm using a timeout to wait before going back, this solves my problem for now:
new Promise(resolve => setTimeout(resolve, 300)).then(_ => {
this.navCtrl.navigateBack('/home');
});
More information:
Here I show the home view after going back from the child view, I cannot interact with the buttons because I have the invisible layer mentioned before in front of the scrollview:
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.
Activity
fix(angular): race condition when fast navigation (#17197)
ionitron-bot commentedon Feb 21, 2019
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.