Closed RadoslawZambrowski closed 9 months ago
What went wrong? When a user navigates back, m.top.previousRoute in Router.brs is updated with a copy of a current activatedRoute https://github.com/getndazn/kopytko-framework/blob/master/src/components/router/Router.brs#L25
m.top.previousRoute
Router.brs
activatedRoute
What did you expect should have happened? I would expect that m.top.previousRoute points to the previous route in the history (the one that would be open when another back journey happens)
Does this PR fix your problem?
https://github.com/getndazn/kopytko-framework/pull/57
This is a Bug Report
Description
What went wrong? When a user navigates back,
m.top.previousRoute
inRouter.brs
is updated with a copy of a currentactivatedRoute
https://github.com/getndazn/kopytko-framework/blob/master/src/components/router/Router.brs#L25What did you expect should have happened? I would expect that
m.top.previousRoute
points to the previous route in the history (the one that would be open when another back journey happens)