{"action":"created","issue":{"url":"https://api.github.com/repos/rochal/jQuery-slimScroll/issues/221","repository_url":"https://api.github.com/repos/rochal/jQuery-slimScroll","labels_url":"https://api.github.com/repos/rochal/jQuery-slimScroll/issues/221/labels{/name}","comments_url":"https://api.github.com/repos/rochal/jQuery-slimScroll/issues/221/comments","events_url":"https://api.github.com/repos/rochal/jQuery-slimScroll/issues/221/events","html_url":"https://github.com/rochal/jQuery-slimScroll/pull/221","id":109795860,"number":221,"title":"Issue #220: Fix large scroll steps when content is long","user":{"login":"MihaiBalint","id":164886,"avatar_url":"https://avatars.githubusercontent.com/u/164886?v=3","gravatar_id":"","url":"https://api.github.com/users/MihaiBalint","html_url":"https://github.com/MihaiBalint","followers_url":"https://api.github.com/users/MihaiBalint/followers","following_url":"https://api.github.com/users/MihaiBalint/following{/other_user}","gists_url":"https://api.github.com/users/MihaiBalint/gists{/gist_id}","starred_url":"https://api.github.com/users/MihaiBalint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MihaiBalint/subscriptions","organizations_url":"https://api.github.com/users/MihaiBalint/orgs","repos_url":"https://api.github.com/users/MihaiBalint/repos","events_url":"https://api.github.com/users/MihaiBalint/events{/privacy}","received_events_url":"https://api.github.com/users/MihaiBalint/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-05T13:27:40Z","updated_at":"2016-02-19T11:34:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rochal/jQuery-slimScroll/pulls/221","html_url":"https://github.com/rochal/jQuery-slimScroll/pull/221","diff_url":"https://github.com/rochal/jQuery-slimScroll/pull/221.diff","patch_url":"https://github.com/rochal/jQuery-slimScroll/pull/221.patch"},"body":"If the content-to-viewport ratio is very high then the bar should be tiny and the scroll step should be normal. However the delta formula does not consider the fact that the bar height is restricted to a minimum height (for usability) and incorrectly increases the scroll step length with the content size.\r\n\r\nWith large content (in my case it was 150 000px) and default options, the large step size makes scrolling very coarse to the point of unusable."},"comment":{"url":"https://api.github.com/repos/rochal/jQuery-slimScroll/issues/comments/186181318","html_url":"https://github.com/rochal/jQuery-slimScroll/pull/221#issuecomment-186181318","issue_url":"https://api.github.com/repos/rochal/jQuery-slimScroll/issues/221","id":186181318,"user":{"login":"kasperoo","id":2518482,"avatar_url":"https://avatars.githubusercontent.com/u/2518482?v=3","gravatar_id":"","url":"https://api.github.com/users/kasperoo","html_url":"https://github.com/kasperoo","followers_url":"https://api.github.com/users/kasperoo/followers","following_url":"https://api.github.com/users/kasperoo/following{/other_user}","gists_url":"https://api.github.com/users/kasperoo/gists{/gist_id}","starred_url":"https://api.github.com/users/kasperoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasperoo/subscriptions","organizations_url":"https://api.github.com/users/kasperoo/orgs","repos_url":"https://api.github.com/users/kasperoo/repos","events_url":"https://api.github.com/users/kasperoo/events{/privacy}","received_events_url":"https://api.github.com/users/kasperoo/received_events","type":"User","site_admin":false},"created_at":"2016-02-19T11:34:57Z","updated_at":"2016-02-19T11:34:57Z","body":"2 thumbs up for this, you have fixed the scrollbar updating the position when using the scrollTo method for me. (essentialy #233)"}}