{"action":"created","issue":{"url":"https://api.github.com/repos/flesler/jquery.scrollTo/issues/2","labels_url":"https://api.github.com/repos/flesler/jquery.scrollTo/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/flesler/jquery.scrollTo/issues/2/comments","events_url":"https://api.github.com/repos/flesler/jquery.scrollTo/issues/2/events","html_url":"https://github.com/flesler/jquery.scrollTo/issues/2","id":5086295,"number":2,"title":"Option for not scrolling parent if child is still in view?","user":{"login":"andrewchch","id":1577923,"avatar_url":"https://avatars.githubusercontent.com/u/1577923?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewchch","html_url":"https://github.com/andrewchch","followers_url":"https://api.github.com/users/andrewchch/followers","following_url":"https://api.github.com/users/andrewchch/following{/other_user}","gists_url":"https://api.github.com/users/andrewchch/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewchch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewchch/subscriptions","organizations_url":"https://api.github.com/users/andrewchch/orgs","repos_url":"https://api.github.com/users/andrewchch/repos","events_url":"https://api.github.com/users/andrewchch/events{/privacy}","received_events_url":"https://api.github.com/users/andrewchch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/flesler/jquery.scrollTo/labels/feature","name":"feature","color":"02e10c"},{"url":"https://api.github.com/repos/flesler/jquery.scrollTo/labels/wontfix","name":"wontfix","color":"ffffff"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2012-06-15T04:45:28Z","updated_at":"2015-11-12T02:59:02Z","closed_at":"2012-07-06T14:30:10Z","body":"Hi there,\n\nYour plugin is great, but I wonder if it would be possible, when scrolling a parent to a child element, to not scroll the parent if the child is still in view. When using the plugin to navigate down a scrolling dropdown menu via the keyboard you currently get the unnatural behaviour that the currently selected item stays at the top of the portion of the list in view - this works but it looks kind of odd when you compare it to standard scrolling behaviour on other elements.  \n\nAny thoughts?\n\nCheers, Andrew."},"comment":{"url":"https://api.github.com/repos/flesler/jquery.scrollTo/issues/comments/155983200","html_url":"https://github.com/flesler/jquery.scrollTo/issues/2#issuecomment-155983200","issue_url":"https://api.github.com/repos/flesler/jquery.scrollTo/issues/2","id":155983200,"user":{"login":"flesler","id":38258,"avatar_url":"https://avatars.githubusercontent.com/u/38258?v=3","gravatar_id":"","url":"https://api.github.com/users/flesler","html_url":"https://github.com/flesler","followers_url":"https://api.github.com/users/flesler/followers","following_url":"https://api.github.com/users/flesler/following{/other_user}","gists_url":"https://api.github.com/users/flesler/gists{/gist_id}","starred_url":"https://api.github.com/users/flesler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flesler/subscriptions","organizations_url":"https://api.github.com/users/flesler/orgs","repos_url":"https://api.github.com/users/flesler/repos","events_url":"https://api.github.com/users/flesler/events{/privacy}","received_events_url":"https://api.github.com/users/flesler/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T02:59:02Z","updated_at":"2015-11-12T02:59:02Z","body":"I get it, I still think the right way to go is to combine this plugin with either another plugin that does what you need (I know there are) or just whip those 3-4 lines of code yourself or look them up on Google and combine it with scrollTo.\r\nIt's too big and unrelated to consider adding it to scrollTo.\r\nSorry"}}