{"action":"created","issue":{"url":"https://api.github.com/repos/okgrow/iron-router-autoscroll/issues/16","labels_url":"https://api.github.com/repos/okgrow/iron-router-autoscroll/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/okgrow/iron-router-autoscroll/issues/16/comments","events_url":"https://api.github.com/repos/okgrow/iron-router-autoscroll/issues/16/events","html_url":"https://github.com/okgrow/iron-router-autoscroll/issues/16","id":99115707,"number":16,"title":"Autoscroll scrolls back to top even when only query parameters are changing","user":{"login":"SachaG","id":358832,"avatar_url":"https://avatars.githubusercontent.com/u/358832?v=3","gravatar_id":"","url":"https://api.github.com/users/SachaG","html_url":"https://github.com/SachaG","followers_url":"https://api.github.com/users/SachaG/followers","following_url":"https://api.github.com/users/SachaG/following{/other_user}","gists_url":"https://api.github.com/users/SachaG/gists{/gist_id}","starred_url":"https://api.github.com/users/SachaG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SachaG/subscriptions","organizations_url":"https://api.github.com/users/SachaG/orgs","repos_url":"https://api.github.com/users/SachaG/repos","events_url":"https://api.github.com/users/SachaG/events{/privacy}","received_events_url":"https://api.github.com/users/SachaG/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-05T04:44:14Z","updated_at":"2015-08-21T20:46:09Z","closed_at":null,"body":"I'm not sure if this is the intended behavior, but the package scrolls back to the top of the page even when only a query parameter is changing (i.e. going from `/posts/?count=10` to `/posts/?count=20`).\r\n\r\nSeems to me like this would conflict with a lot of pagination/filtering implementations? Shouldn't the autoscroll only happen when the route itself changes?"},"comment":{"url":"https://api.github.com/repos/okgrow/iron-router-autoscroll/issues/comments/133557903","html_url":"https://github.com/okgrow/iron-router-autoscroll/issues/16#issuecomment-133557903","issue_url":"https://api.github.com/repos/okgrow/iron-router-autoscroll/issues/16","id":133557903,"user":{"login":"deanius","id":24406,"avatar_url":"https://avatars.githubusercontent.com/u/24406?v=3","gravatar_id":"","url":"https://api.github.com/users/deanius","html_url":"https://github.com/deanius","followers_url":"https://api.github.com/users/deanius/followers","following_url":"https://api.github.com/users/deanius/following{/other_user}","gists_url":"https://api.github.com/users/deanius/gists{/gist_id}","starred_url":"https://api.github.com/users/deanius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deanius/subscriptions","organizations_url":"https://api.github.com/users/deanius/orgs","repos_url":"https://api.github.com/users/deanius/repos","events_url":"https://api.github.com/users/deanius/events{/privacy}","received_events_url":"https://api.github.com/users/deanius/received_events","type":"User","site_admin":false},"created_at":"2015-08-21T20:46:09Z","updated_at":"2015-08-21T20:46:09Z","body":"A new flag was just added, which you can call when you're updating the querystring and don't want scroll changes. That should work?\r\n\r\n```\r\nRouter.go('newRoute', {}, {\r\n  query: {q: 'newQuery'},\r\n  hash: 'maintainScroll=1'\r\n});\r\n```"}}