route
route copied to clipboard
Issue when using Route + Polymer.dart
Hi,
I have done a small prototype using Polymer.dart + Route lib, everything work as expected if the link is in the main HTML file, but routes do not match anymore if the link is into a Web Component.
Perhaps an issue about Window.onPopState event propagation and Shadow DOM ...
A demo of the bug is available on https://github.com/sdeleuze/polymer-dart-blog/tree/050cca531c6134f49082413d591b9e0aba535b91 Links (blue ones) on index.html are working, but those in the menu are not (they come from Blog web component).
Also have a look on Justin Fagnani answer https://groups.google.com/a/dartlang.org/d/msg/web-ui/_-2SgwldRzI/hknmXhZynDMJ
Regards, Sébastien