It seems like navigating between menu options using ion-menu
will navigate forward (push the page to a stack). Is this intentional?
Is it possible to pop the page from the stack when navigating between menu options?
I realized this problem when I am navigating between two different pages using the ion-menu
. It only runs each of the page’s ngOnInit()
once, and since the page isn’t popped off, the ngOnInit()
will not run again the next time.
I know a solution is to use ionViewWillEnter()
or ionWillDidEnter()
, but I was curious if there was still a way to pop a page instead of pushing a page to the stack.
5 posts - 2 participants