{"action":"created","issue":{"url":"https://api.github.com/repos/zeit/next.js/issues/474","repository_url":"https://api.github.com/repos/zeit/next.js","labels_url":"https://api.github.com/repos/zeit/next.js/issues/474/labels{/name}","comments_url":"https://api.github.com/repos/zeit/next.js/issues/474/comments","events_url":"https://api.github.com/repos/zeit/next.js/issues/474/events","html_url":"https://github.com/zeit/next.js/pull/474","id":197111094,"number":474,"title":"Avoid autoscrolling anchored URLs","user":{"login":"jxodwyer","id":3151939,"avatar_url":"https://avatars.githubusercontent.com/u/3151939?v=3","gravatar_id":"","url":"https://api.github.com/users/jxodwyer","html_url":"https://github.com/jxodwyer","followers_url":"https://api.github.com/users/jxodwyer/followers","following_url":"https://api.github.com/users/jxodwyer/following{/other_user}","gists_url":"https://api.github.com/users/jxodwyer/gists{/gist_id}","starred_url":"https://api.github.com/users/jxodwyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jxodwyer/subscriptions","organizations_url":"https://api.github.com/users/jxodwyer/orgs","repos_url":"https://api.github.com/users/jxodwyer/repos","events_url":"https://api.github.com/users/jxodwyer/events{/privacy}","received_events_url":"https://api.github.com/users/jxodwyer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-12-22T07:25:52Z","updated_at":"2016-12-22T08:16:00Z","closed_at":"2016-12-22T08:15:50Z","pull_request":{"url":"https://api.github.com/repos/zeit/next.js/pulls/474","html_url":"https://github.com/zeit/next.js/pull/474","diff_url":"https://github.com/zeit/next.js/pull/474.diff","patch_url":"https://github.com/zeit/next.js/pull/474.patch"},"body":"#### Issue https://github.com/zeit/next.js/issues/442\r\n\r\n### Description\r\nUnexpected scrolling when including element IDs in Link URLs (ex `/#id`. This unexpected behavoir is caused by the line:\r\n`if (scroll !== false) window.scrollTo(0, 0)`\r\n\r\n### Solution\r\nBy forcing `scroll={false}` when the `url` contains `#`. We will avoid the forced scroll done by the line above for users that are passing element Ids."},"comment":{"url":"https://api.github.com/repos/zeit/next.js/issues/comments/268744023","html_url":"https://github.com/zeit/next.js/pull/474#issuecomment-268744023","issue_url":"https://api.github.com/repos/zeit/next.js/issues/474","id":268744023,"user":{"login":"nkzawa","id":775227,"avatar_url":"https://avatars.githubusercontent.com/u/775227?v=3","gravatar_id":"","url":"https://api.github.com/users/nkzawa","html_url":"https://github.com/nkzawa","followers_url":"https://api.github.com/users/nkzawa/followers","following_url":"https://api.github.com/users/nkzawa/following{/other_user}","gists_url":"https://api.github.com/users/nkzawa/gists{/gist_id}","starred_url":"https://api.github.com/users/nkzawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nkzawa/subscriptions","organizations_url":"https://api.github.com/users/nkzawa/orgs","repos_url":"https://api.github.com/users/nkzawa/repos","events_url":"https://api.github.com/users/nkzawa/events{/privacy}","received_events_url":"https://api.github.com/users/nkzawa/received_events","type":"User","site_admin":false},"created_at":"2016-12-22T08:16:00Z","updated_at":"2016-12-22T08:16:00Z","body":"Thank you 😄 "}}
{"actor":{"display_login":"nkzawa"}}