URL doesn't reset after back button

Hopefully I’m just missing something simple.

I started a new ionic project (“blank” template).
I did ionic g page test to make a new page with a module.
I put a button on the home page that calls a function that does
this.navCtrl.push('TestPage') to lazy load the test page.

It works! The page loads lazily, the url becomes …/#/test
Next, I click ‘Back’ in the nav bar. Page transitions back correctly, but the url is still ‘…/#/test’!

Is this a bug or am I missing something? Maybe I need to define a route for the top page somewhere?

Same behavior with locationStrategy set to ‘path’.

1 Like

Did you find any solution? I too am facing the same issue…