{"action":"created","issue":{"url":"https://api.github.com/repos/idiotWu/smooth-scrollbar/issues/14","repository_url":"https://api.github.com/repos/idiotWu/smooth-scrollbar","labels_url":"https://api.github.com/repos/idiotWu/smooth-scrollbar/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/idiotWu/smooth-scrollbar/issues/14/comments","events_url":"https://api.github.com/repos/idiotWu/smooth-scrollbar/issues/14/events","html_url":"https://github.com/idiotWu/smooth-scrollbar/issues/14","id":154971623,"number":14,"title":"Don't break native momentum scrolling","user":{"login":"bfred-it","id":1402241,"avatar_url":"https://avatars.githubusercontent.com/u/1402241?v=3","gravatar_id":"","url":"https://api.github.com/users/bfred-it","html_url":"https://github.com/bfred-it","followers_url":"https://api.github.com/users/bfred-it/followers","following_url":"https://api.github.com/users/bfred-it/following{/other_user}","gists_url":"https://api.github.com/users/bfred-it/gists{/gist_id}","starred_url":"https://api.github.com/users/bfred-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfred-it/subscriptions","organizations_url":"https://api.github.com/users/bfred-it/orgs","repos_url":"https://api.github.com/users/bfred-it/repos","events_url":"https://api.github.com/users/bfred-it/events{/privacy}","received_events_url":"https://api.github.com/users/bfred-it/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-16T06:52:34Z","updated_at":"2016-05-16T07:19:16Z","closed_at":null,"body":"Some devices already offer smooth momentum scrolling, this script shouldn't interfere with that because native behavior is unmatchable (i.e. momentum overscroll) and scripts like this degrade the experience rather than improve it.\r\n\r\nMy suggestion is to detect the delta and if it's already low, detach `WHEEL_EVENT` or don't `.preventDefault()`"},"comment":{"url":"https://api.github.com/repos/idiotWu/smooth-scrollbar/issues/comments/219364528","html_url":"https://github.com/idiotWu/smooth-scrollbar/issues/14#issuecomment-219364528","issue_url":"https://api.github.com/repos/idiotWu/smooth-scrollbar/issues/14","id":219364528,"user":{"login":"idiotWu","id":6022672,"avatar_url":"https://avatars.githubusercontent.com/u/6022672?v=3","gravatar_id":"","url":"https://api.github.com/users/idiotWu","html_url":"https://github.com/idiotWu","followers_url":"https://api.github.com/users/idiotWu/followers","following_url":"https://api.github.com/users/idiotWu/following{/other_user}","gists_url":"https://api.github.com/users/idiotWu/gists{/gist_id}","starred_url":"https://api.github.com/users/idiotWu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idiotWu/subscriptions","organizations_url":"https://api.github.com/users/idiotWu/orgs","repos_url":"https://api.github.com/users/idiotWu/repos","events_url":"https://api.github.com/users/idiotWu/events{/privacy}","received_events_url":"https://api.github.com/users/idiotWu/received_events","type":"User","site_admin":false},"created_at":"2016-05-16T07:19:16Z","updated_at":"2016-05-16T07:19:16Z","body":"However we could not tell whether it's momentum scrolling from delta value. I thought of this issue before but Javascript seems to be too weak to resolve it. So all that I can do is to simulate native momentum scrolling.\r\n\r\nIf you get some clues about it, please show me a working snippet or create a PR :)"}}