Aurelia v2 router : back() from child route not working

I am having trouble navigation back from a child router.

Using the simple routing example from the aurelia starter kit. If I add a child route and component to the about page, I can see the component loads at /#/about-page/child-page

If I call router.back() from the child page nothing happens the first time. If I call router.back() a second time, I am taken back to whatever page I viewed before I went to the /#/about-page/ parent.

I would expect to be routed back to the /#/about-page/ on the first click.

1 Like