Closed mkropf closed 5 years ago
In my case the app-location fires once on the first route but twice for every following route back to the page.
Related/duplicated: https://github.com/PolymerElements/app-route/issues/178
For me, this happens only when the path has parameters like /path?parameter=test
outdated, nobody caring anymore
@mkropf this issue still exist
Description
Example usage:
Expected outcome
Clicking the link or changing the browser address should log a single event.
Actual outcome
The event is fired twice.
Analysis
Finding the cause in debugger showed that the property-changed effect is registered twice and therefore triggered twice when the route property changed. The cause for the duplicated effect registration is the fact that app-location declares the 'route' property and has the AppRouteConverterBehavior, which in turn also declares the 'route' property. (You may see it as a app-location bug or as polymer core bug)