{"action":"created","issue":{"url":"https://api.github.com/repos/buildo/react-components/issues/243","labels_url":"https://api.github.com/repos/buildo/react-components/issues/243/labels{/name}","comments_url":"https://api.github.com/repos/buildo/react-components/issues/243/comments","events_url":"https://api.github.com/repos/buildo/react-components/issues/243/events","html_url":"https://github.com/buildo/react-components/issues/243","id":129795745,"number":243,"title":"[ScrollView] replace onWheel with onScroll","user":{"login":"FrancescoCioria","id":4029499,"avatar_url":"https://avatars.githubusercontent.com/u/4029499?v=3","gravatar_id":"","url":"https://api.github.com/users/FrancescoCioria","html_url":"https://github.com/FrancescoCioria","followers_url":"https://api.github.com/users/FrancescoCioria/followers","following_url":"https://api.github.com/users/FrancescoCioria/following{/other_user}","gists_url":"https://api.github.com/users/FrancescoCioria/gists{/gist_id}","starred_url":"https://api.github.com/users/FrancescoCioria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrancescoCioria/subscriptions","organizations_url":"https://api.github.com/users/FrancescoCioria/orgs","repos_url":"https://api.github.com/users/FrancescoCioria/repos","events_url":"https://api.github.com/users/FrancescoCioria/events{/privacy}","received_events_url":"https://api.github.com/users/FrancescoCioria/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"FrancescoCioria","id":4029499,"avatar_url":"https://avatars.githubusercontent.com/u/4029499?v=3","gravatar_id":"","url":"https://api.github.com/users/FrancescoCioria","html_url":"https://github.com/FrancescoCioria","followers_url":"https://api.github.com/users/FrancescoCioria/followers","following_url":"https://api.github.com/users/FrancescoCioria/following{/other_user}","gists_url":"https://api.github.com/users/FrancescoCioria/gists{/gist_id}","starred_url":"https://api.github.com/users/FrancescoCioria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrancescoCioria/subscriptions","organizations_url":"https://api.github.com/users/FrancescoCioria/orgs","repos_url":"https://api.github.com/users/FrancescoCioria/repos","events_url":"https://api.github.com/users/FrancescoCioria/events{/privacy}","received_events_url":"https://api.github.com/users/FrancescoCioria/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-01-29T15:24:36Z","updated_at":"2016-02-01T09:18:50Z","closed_at":null,"body":"## requirements\r\nwe're already listening the `onScroll` event but, for some reasons, this event is structured differently from `onWheel` and `onTouchMove` -> we should refactor the logic to handle `onScroll` correctly\r\n\r\n## specs\r\n[TODO]"},"comment":{"url":"https://api.github.com/repos/buildo/react-components/issues/comments/177870946","html_url":"https://github.com/buildo/react-components/issues/243#issuecomment-177870946","issue_url":"https://api.github.com/repos/buildo/react-components/issues/243","id":177870946,"user":{"login":"FrancescoCioria","id":4029499,"avatar_url":"https://avatars.githubusercontent.com/u/4029499?v=3","gravatar_id":"","url":"https://api.github.com/users/FrancescoCioria","html_url":"https://github.com/FrancescoCioria","followers_url":"https://api.github.com/users/FrancescoCioria/followers","following_url":"https://api.github.com/users/FrancescoCioria/following{/other_user}","gists_url":"https://api.github.com/users/FrancescoCioria/gists{/gist_id}","starred_url":"https://api.github.com/users/FrancescoCioria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrancescoCioria/subscriptions","organizations_url":"https://api.github.com/users/FrancescoCioria/orgs","repos_url":"https://api.github.com/users/FrancescoCioria/repos","events_url":"https://api.github.com/users/FrancescoCioria/events{/privacy}","received_events_url":"https://api.github.com/users/FrancescoCioria/received_events","type":"User","site_admin":false},"created_at":"2016-02-01T09:18:50Z","updated_at":"2016-02-01T09:18:50Z","body":"UPDATE: `onScroll` is called when a node scrolls for any reason (touch, wheel ...) but, unfortunately, it's not called when it's moving forward (this happens when the you're not stop `scrollPropagation` and the window/node below starts scrolling) so it may not be allow us to stop scroll propagation correctly.\r\nIf this is true `ScrollView` should keep using `onWheel` and `onTouch` events which so far proved to work correctly also on older browsers"}}