Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[v4.0.0-beta.15] ion-back-button is not removing previous page/component #16244
Describe the Bug
Steps to Reproduce
I have the same behavior in my app using
The "previous" page/component element is not removed at the end of the "exit" animation. The previous page is not visible (because opacity to 0) but still receives events because the element node is above the element node of the new page.
In the following case, the
<app-logout _nghost-c5="" class="ion-page" style="z-index: 100; opacity: 0; transform: translateY(40px);"> <!-- some content --> </app-logout> <app-login _nghost-c2="" class="ion-page" style="z-index: 99;"> <!-- some content --> </app-login>
referenced this issue
Nov 7, 2018
Seeing the same issue here only seems to happen when navigating back to a virtual scroll page. I can see the old page component in dev tools sitting over the current page blocking any actions. If I switch my list to ngFor I don't seem to see this issue, unfortunately, my dataset is too large for ngFor... Is there any workaround for this or is basic navigation just broken in Beta 15?