Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70918

Can `ion-menu` pop a page instead of pushing a page?

$
0
0

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

Read full topic


Viewing all articles
Browse latest Browse all 70918

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>