You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you navigate the links in order, and then back in reverse order, everything works file:
Root -> Page -> Perth -> Cat1 and then backwards Perth -> Page -> Root
HOWEVER, if you go to Root -> Page -> Perth -> Cat1, and then straight to page, you will see:
activeCategory and routeDataCategory: true {"category":"cat1"}
This tells me that the category route is, according to app-route, still active. However, it really really isn't.
I realise that there are some optimisation issues that will prevent routes from replicating. However, active really should reflect the truth. I looked through the code and couldn't work out why this is happening.
The text was updated successfully, but these errors were encountered:
mercmobily
changed the title
Active is true when it _really_ should be in this super-simple use case
Active is true when it _really_ should not be (super-simple use case)
Nov 15, 2016
This is a simple use-case for app-route and app-location.
To replicate it, just
polymer init
an app calledpp
and copy overpp-app.html
with this:And also
bower install PolymerElements/app-route
.If you navigate the links in order, and then back in reverse order, everything works file:
Root -> Page -> Perth -> Cat1 and then backwards Perth -> Page -> Root
HOWEVER, if you go to Root -> Page -> Perth -> Cat1, and then straight to
page
, you will see:This tells me that the category route is, according to
app-route
, still active. However, it really really isn't.I realise that there are some optimisation issues that will prevent routes from replicating. However,
active
really should reflect the truth. I looked through the code and couldn't work out why this is happening.The text was updated successfully, but these errors were encountered: