I am trying to get default routes working in my application with nested app-route and iron-pages by binding fallback-selector to app-location. It works, but I need this to work across multiple sub-elements of my application, and if all the iron-pages elements update the location, it fritzes the app into an endless loop of location changes.
To make it work, in each sub-element I need to verify whether the correct route is active, and if it isn't I need to cancel the fallback selection on iron-pages. The iron-select event is firing, the iron-activate is not.
I am trying to get default routes working in my application with nested
app-route
andiron-pages
by binding fallback-selector toapp-location
. It works, but I need this to work across multiple sub-elements of my application, and if all theiron-pages
elements update the location, it fritzes the app into an endless loop of location changes.To make it work, in each sub-element I need to verify whether the correct route is active, and if it isn't I need to cancel the fallback selection on
iron-pages
. Theiron-select
event is firing, theiron-activate
is not.