NavController PopToRoot

Hi All,

I am trying to use the NavController to go back to the root page.

I have:

Page1 (root) -> Page2 -> Page3

I use:

  this.nav.popToRoot().then(() => {'popupFilter:update', data);

When I am on Page3, I expect it to pop to Page1 However, it does not pop to the root, but rather only one page back (Page2).

Any ideas what I am doing wrong?

Secondly, how can I see what pages are in the stack?