{"action":"created","issue":{"url":"https://api.github.com/repos/Plastikit/plastik-lazy-route-selector/issues/1","labels_url":"https://api.github.com/repos/Plastikit/plastik-lazy-route-selector/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Plastikit/plastik-lazy-route-selector/issues/1/comments","events_url":"https://api.github.com/repos/Plastikit/plastik-lazy-route-selector/issues/1/events","html_url":"https://github.com/Plastikit/plastik-lazy-route-selector/issues/1","id":96000094,"number":1,"title":"It's impossible to nest lazy route selectors","user":{"login":"urandom","id":7908,"avatar_url":"https://avatars.githubusercontent.com/u/7908?v=3","gravatar_id":"","url":"https://api.github.com/users/urandom","html_url":"https://github.com/urandom","followers_url":"https://api.github.com/users/urandom/followers","following_url":"https://api.github.com/users/urandom/following{/other_user}","gists_url":"https://api.github.com/users/urandom/gists{/gist_id}","starred_url":"https://api.github.com/users/urandom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urandom/subscriptions","organizations_url":"https://api.github.com/users/urandom/orgs","repos_url":"https://api.github.com/users/urandom/repos","events_url":"https://api.github.com/users/urandom/events{/privacy}","received_events_url":"https://api.github.com/users/urandom/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Plastikit/plastik-lazy-route-selector/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-20T06:59:16Z","updated_at":"2015-07-20T08:08:41Z","closed_at":"2015-07-20T08:08:40Z","body":"When considering the following example:\r\n```html\r\n                <plastik-lazy-route-selector selectedParams=\"{{params}}\" selected=\"{{route}}\">\r\n                    <iron-pages attr-for-selected=\"route\">\r\n                        <section route=\"splash\"> Splash </section>\r\n                        <section route=\"login\"> login </section>\r\n                        <section route=\"settings-base\">\r\n                            <plastik-lazy-route-selector selectedParams=\"{{params}}\" selected=\"{{route}}\">\r\n                                <neon-animated-pages attr-for-selected=\"route\" entry-animation=\"fade-in-animation\" exit-animation=\"fade-out-animation\">\r\n                                    <neon-animatable route=\"settings-general\">settings-general</neon-animatable>\r\n                                    <neon-animatable route=\"settings-feeds\" import=\"/component/rf-settings-feeds\"></neon-animatable>\r\n                                </neon-animated-pages>\r\n                            </plastik-lazy-route-selector>\r\n                        </section>\r\n                    </iron-pages>\r\n                </plastik-lazy-route-selector>\r\n```\r\n\r\nTrying to get to any route besides settings-feeds doesn't do anything, while the other one throws this error:\r\n```\r\n> MoreRouting.navigateTo(\"settings-feeds\")\r\n\r\nplastik-lazy-route-selector.html:269 Uncaught TypeError: Cannot read property 'parent' of null\r\nPolymer._getTopMostMatchingRoute\t@\tplastik-lazy-route-selector.html:269\r\nPolymer._onMoreRouteChange\t@\tplastik-lazy-route-selector.html:323\r\nhandler\t@\tpolymer.html:390\r\nPolymer.Base._addFeature.fire\t@\tpolymer.html:1071\r\nPolymer._evaluate\t@\tmore-route-selection.html:157\r\n(anonymous function)\t@\temitter.html:69\r\n__notify\t@\temitter.html:68\r\nObject.defineProperty.set\t@\troute.html:71\r\nprocessPathParts\t@\troute.html:145\r\n_matchingRoutes\t@\tdriver.html:103\r\n_matchingRoutes\t@\tdriver.html:106\r\n_matchingRoutes\t@\tdriver.html:106\r\nsetCurrentPath\t@\tdriver.html:62\r\n_read\t@\tpath.html:36\r\nnavigateToUrl\t@\tpath.html:28\r\nDriver.navigateToParts\t@\tdriver.html:48\r\nnavigateTo\t@\troute.html:96\r\nnavigateTo\t@\trouting.html:94\r\n(anonymous function)\t@\tVM5068:2\r\nInjectedScript._evaluateOn\t@\tVM5065:895\r\nInjectedScript._evaluateAndWrap\t@\tVM5065:828\r\nInjectedScript.evaluate\t@\tVM5065:694\r\n```\r\n\r\nHaving a lazy selector within a regular route selector also doesn't work. Nesting 2 more-route-selectors works fine"},"comment":{"url":"https://api.github.com/repos/Plastikit/plastik-lazy-route-selector/issues/comments/122797579","html_url":"https://github.com/Plastikit/plastik-lazy-route-selector/issues/1#issuecomment-122797579","issue_url":"https://api.github.com/repos/Plastikit/plastik-lazy-route-selector/issues/1","id":122797579,"user":{"login":"vsimonian","id":9868643,"avatar_url":"https://avatars.githubusercontent.com/u/9868643?v=3","gravatar_id":"","url":"https://api.github.com/users/vsimonian","html_url":"https://github.com/vsimonian","followers_url":"https://api.github.com/users/vsimonian/followers","following_url":"https://api.github.com/users/vsimonian/following{/other_user}","gists_url":"https://api.github.com/users/vsimonian/gists{/gist_id}","starred_url":"https://api.github.com/users/vsimonian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsimonian/subscriptions","organizations_url":"https://api.github.com/users/vsimonian/orgs","repos_url":"https://api.github.com/users/vsimonian/repos","events_url":"https://api.github.com/users/vsimonian/events{/privacy}","received_events_url":"https://api.github.com/users/vsimonian/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T08:08:40Z","updated_at":"2015-07-20T08:08:40Z","body":"In that case, I will close this issue. However, if it turns out that there is in fact broken functionality regarding nested selectors specific to `plastik-lazy-route-selector`, please do not hesitate to reopen the issue and/or give me a heads up.\r\n\r\nCheers!"}}