{"action":"opened","issue":{"url":"https://api.github.com/repos/wilsonfletcher/Optiscroll/issues/14","labels_url":"https://api.github.com/repos/wilsonfletcher/Optiscroll/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/wilsonfletcher/Optiscroll/issues/14/comments","events_url":"https://api.github.com/repos/wilsonfletcher/Optiscroll/issues/14/events","html_url":"https://github.com/wilsonfletcher/Optiscroll/issues/14","id":105086928,"number":14,"title":"preventParentScroll resets scroll on touchstart","user":{"login":"albertogasparin","id":84136,"avatar_url":"https://avatars.githubusercontent.com/u/84136?v=3","gravatar_id":"","url":"https://api.github.com/users/albertogasparin","html_url":"https://github.com/albertogasparin","followers_url":"https://api.github.com/users/albertogasparin/followers","following_url":"https://api.github.com/users/albertogasparin/following{/other_user}","gists_url":"https://api.github.com/users/albertogasparin/gists{/gist_id}","starred_url":"https://api.github.com/users/albertogasparin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albertogasparin/subscriptions","organizations_url":"https://api.github.com/users/albertogasparin/orgs","repos_url":"https://api.github.com/users/albertogasparin/repos","events_url":"https://api.github.com/users/albertogasparin/events{/privacy}","received_events_url":"https://api.github.com/users/albertogasparin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/wilsonfletcher/Optiscroll/milestones/1","html_url":"https://github.com/wilsonfletcher/Optiscroll/milestones/1.1.0","labels_url":"https://api.github.com/repos/wilsonfletcher/Optiscroll/milestones/1/labels","id":995056,"number":1,"title":"1.1.0","description":null,"creator":{"login":"albertogasparin","id":84136,"avatar_url":"https://avatars.githubusercontent.com/u/84136?v=3","gravatar_id":"","url":"https://api.github.com/users/albertogasparin","html_url":"https://github.com/albertogasparin","followers_url":"https://api.github.com/users/albertogasparin/followers","following_url":"https://api.github.com/users/albertogasparin/following{/other_user}","gists_url":"https://api.github.com/users/albertogasparin/gists{/gist_id}","starred_url":"https://api.github.com/users/albertogasparin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albertogasparin/subscriptions","organizations_url":"https://api.github.com/users/albertogasparin/orgs","repos_url":"https://api.github.com/users/albertogasparin/repos","events_url":"https://api.github.com/users/albertogasparin/events{/privacy}","received_events_url":"https://api.github.com/users/albertogasparin/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":0,"state":"open","created_at":"2015-02-25T11:48:30Z","updated_at":"2015-09-06T11:02:38Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-09-06T11:02:38Z","updated_at":"2015-09-06T11:02:38Z","closed_at":null,"body":"On Android, with `preventParentScroll: true`, Optiscroll will sometime reset the scroll position to `0` on touchstart if fast scroll from `0`.\r\nThe problem looks like is caused by `touchstart` calling `Events.wheel()`, and somehow this condition gets executed:\r\n\r\n```js\r\nif(cacheV.enabled && cacheV.percent % 100 === 0) {\r\n   me.scrollEl.scrollTop = cacheV.percent ? (cache.scrollH - cache.clientH - 1) : 1;\r\n}\r\n```"}}