{"action":"created","issue":{"url":"https://api.github.com/repos/Nolanus/ng2-page-scroll/issues/63","repository_url":"https://api.github.com/repos/Nolanus/ng2-page-scroll","labels_url":"https://api.github.com/repos/Nolanus/ng2-page-scroll/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/Nolanus/ng2-page-scroll/issues/63/comments","events_url":"https://api.github.com/repos/Nolanus/ng2-page-scroll/issues/63/events","html_url":"https://github.com/Nolanus/ng2-page-scroll/issues/63","id":191859923,"number":63,"title":"Can't scroll to top of page (above router-outlet)","user":{"login":"fergusg","id":760983,"avatar_url":"https://avatars.githubusercontent.com/u/760983?v=3","gravatar_id":"","url":"https://api.github.com/users/fergusg","html_url":"https://github.com/fergusg","followers_url":"https://api.github.com/users/fergusg/followers","following_url":"https://api.github.com/users/fergusg/following{/other_user}","gists_url":"https://api.github.com/users/fergusg/gists{/gist_id}","starred_url":"https://api.github.com/users/fergusg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fergusg/subscriptions","organizations_url":"https://api.github.com/users/fergusg/orgs","repos_url":"https://api.github.com/users/fergusg/repos","events_url":"https://api.github.com/users/fergusg/events{/privacy}","received_events_url":"https://api.github.com/users/fergusg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-27T12:54:42Z","updated_at":"2016-12-10T12:17:25Z","closed_at":null,"body":"I have a page like:\r\n\r\n```html\r\n<body>\r\n  <my-app>\r\n    <div id=\"top\">Navigation</div>\r\n    <some-content></some-content>\r\n    <router-outlet></router-outlet>\r\n    <a pageScroll href=\"#top\">TOP</a>\r\n  </my-app>\r\n</body>\r\n```\r\n\r\nbut the `pageScroll` never goes past the top of the `router-outlet`.  From the docs, it may be the intention that `pageScroll` is **just** for scrolling within routes.  Am I right?\r\n\r\nAdjusting `pageScrollOffset` (e.g., to `-(height of top content)`) doesn't seem to help.\r\n\r\nThis is with 4.0.0-beta.1"},"comment":{"url":"https://api.github.com/repos/Nolanus/ng2-page-scroll/issues/comments/266203841","html_url":"https://github.com/Nolanus/ng2-page-scroll/issues/63#issuecomment-266203841","issue_url":"https://api.github.com/repos/Nolanus/ng2-page-scroll/issues/63","id":266203841,"user":{"login":"fergusg","id":760983,"avatar_url":"https://avatars.githubusercontent.com/u/760983?v=3","gravatar_id":"","url":"https://api.github.com/users/fergusg","html_url":"https://github.com/fergusg","followers_url":"https://api.github.com/users/fergusg/followers","following_url":"https://api.github.com/users/fergusg/following{/other_user}","gists_url":"https://api.github.com/users/fergusg/gists{/gist_id}","starred_url":"https://api.github.com/users/fergusg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fergusg/subscriptions","organizations_url":"https://api.github.com/users/fergusg/orgs","repos_url":"https://api.github.com/users/fergusg/repos","events_url":"https://api.github.com/users/fergusg/events{/privacy}","received_events_url":"https://api.github.com/users/fergusg/received_events","type":"User","site_admin":false},"created_at":"2016-12-10T12:17:25Z","updated_at":"2016-12-10T12:17:25Z","body":"Yes, using an explicit `PageScrollInstance` fixed it.\r\n\r\nThanks for your help"}}
{"actor":{"display_login":"fergusg"}}