{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleChrome/ui-element-samples/issues/53","repository_url":"https://api.github.com/repos/GoogleChrome/ui-element-samples","labels_url":"https://api.github.com/repos/GoogleChrome/ui-element-samples/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/GoogleChrome/ui-element-samples/issues/53/comments","events_url":"https://api.github.com/repos/GoogleChrome/ui-element-samples/issues/53/events","html_url":"https://github.com/GoogleChrome/ui-element-samples/issues/53","id":179661884,"number":53,"title":"Advanced Router - HTML in sc-view not appearing","user":{"login":"derekshull","id":5685667,"avatar_url":"https://avatars.githubusercontent.com/u/5685667?v=3","gravatar_id":"","url":"https://api.github.com/users/derekshull","html_url":"https://github.com/derekshull","followers_url":"https://api.github.com/users/derekshull/followers","following_url":"https://api.github.com/users/derekshull/following{/other_user}","gists_url":"https://api.github.com/users/derekshull/gists{/gist_id}","starred_url":"https://api.github.com/users/derekshull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekshull/subscriptions","organizations_url":"https://api.github.com/users/derekshull/orgs","repos_url":"https://api.github.com/users/derekshull/repos","events_url":"https://api.github.com/users/derekshull/events{/privacy}","received_events_url":"https://api.github.com/users/derekshull/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-09-28T01:52:55Z","updated_at":"2016-09-28T04:00:42Z","closed_at":null,"body":"I've been wrestling with this all day.  If I put simple text inside <sc-view> then it shows the content.  But if I add any html inside <sc-view> it won't show, unless it's the initial load of the page.  I've been tinkering with _loadView in SCView.  If I console out `const newView` it will show <sc-view> with all of the HTML properly inside.  It appears that it's breaking down somewhere in:\r\n```\r\nnewView.childNodes.forEach(node => {\r\n    this._view.appendChild(node);\r\n});\r\n\r\nthis.appendChild(this._view);\r\n```\r\nHas anyone else experienced this?"},"comment":{"url":"https://api.github.com/repos/GoogleChrome/ui-element-samples/issues/comments/250066131","html_url":"https://github.com/GoogleChrome/ui-element-samples/issues/53#issuecomment-250066131","issue_url":"https://api.github.com/repos/GoogleChrome/ui-element-samples/issues/53","id":250066131,"user":{"login":"oldergod","id":1767669,"avatar_url":"https://avatars.githubusercontent.com/u/1767669?v=3","gravatar_id":"","url":"https://api.github.com/users/oldergod","html_url":"https://github.com/oldergod","followers_url":"https://api.github.com/users/oldergod/followers","following_url":"https://api.github.com/users/oldergod/following{/other_user}","gists_url":"https://api.github.com/users/oldergod/gists{/gist_id}","starred_url":"https://api.github.com/users/oldergod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oldergod/subscriptions","organizations_url":"https://api.github.com/users/oldergod/orgs","repos_url":"https://api.github.com/users/oldergod/repos","events_url":"https://api.github.com/users/oldergod/events{/privacy}","received_events_url":"https://api.github.com/users/oldergod/received_events","type":"User","site_admin":false},"created_at":"2016-09-28T04:00:42Z","updated_at":"2016-09-28T04:00:42Z","body":"I see your problem and it does not work because you broke the code.\r\n\r\ninside the [index.html](https://github.com/derekshull/ui-element-samples/blob/gh-pages/router-advanced/index.html) file, you removed the `visible` class and added the `remote` attribute for `view-home`, and vice-versa for `view-about`. Here is the [diff](https://github.com/GoogleChrome/ui-element-samples/compare/gh-pages...derekshull:gh-pages#diff-e5a57fb633681012535edb7cdd17b284R37).  \r\nYou should not do this, as the index.html is when you access it via the root `/`. Fix this and it works fine.\r\nYou would need to fix the other html files accordingly as well."}}
{"actor":{"display_login":"oldergod"}}