bug: navController.push wont fire
Type: bug
Ionic Version: 2.x (beta2)
Platform: android 5.1 webview
When trying to push a new page via navController after having popped the same page via navController then pushed page won't display.
The page that is being popped and then pushed again is a tabbed page.
Here is the sample code:
this._navController.pop({ animate: false }).then(() => { this._navController.push(TabsPage); });
If just simply pushing the same page again without trying to close the previous one then it works, but then also the old page underneath is not closed.
I also noticed that when using device back button on tabbed page then it won't pop the page as the back button in header does but actually minimizes the app and when resumes then the app is restarted.
Same logic used to work with beta1 release but not with tabbed page but with simple page.
@wli No problem! I will keep this issue open for now.
@jgw96 it indeed does not give a problem in a new project. After updating our npm packages ( angular2 from .13 to .15) and recreating our view (wouldn't work with our original files but a complete copy paste did the trick), our problem was solved and the navController works again.
Thanks for the help!
Great to hear @wouterDumon! Thanks for using Ionic!