{"action":"opened","issue":{"url":"https://api.github.com/repos/underscorediscovery/snow/issues/70","labels_url":"https://api.github.com/repos/underscorediscovery/snow/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/underscorediscovery/snow/issues/70/comments","events_url":"https://api.github.com/repos/underscorediscovery/snow/issues/70/events","html_url":"https://github.com/underscorediscovery/snow/issues/70","id":68008172,"number":70,"title":"Input; mousewheel events inconsistent on web and native","user":{"login":"drezabek94","id":1746884,"avatar_url":"https://avatars.githubusercontent.com/u/1746884?v=3","gravatar_id":"","url":"https://api.github.com/users/drezabek94","html_url":"https://github.com/drezabek94","followers_url":"https://api.github.com/users/drezabek94/followers","following_url":"https://api.github.com/users/drezabek94/following{/other_user}","gists_url":"https://api.github.com/users/drezabek94/gists{/gist_id}","starred_url":"https://api.github.com/users/drezabek94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drezabek94/subscriptions","organizations_url":"https://api.github.com/users/drezabek94/orgs","repos_url":"https://api.github.com/users/drezabek94/repos","events_url":"https://api.github.com/users/drezabek94/events{/privacy}","received_events_url":"https://api.github.com/users/drezabek94/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-13T05:03:16Z","updated_at":"2015-04-13T05:03:16Z","closed_at":null,"body":"These are the two main issues with the mousewheel event:\r\n* scrolling down gives positive deltas on web, but negative deltas on native\r\n* on my system, chrome's detlaY is +-6, whereas firefox's deltaY is 0. (native's deltaY is +-1)\r\n\r\nAt the very least, the sign/direction of the mouse wheel event should be consistent across all platforms. I wouldn't worry so much about the actual value, it probably isn't worth it to try and make that consistent.\r\n\r\nHowever, on web, the current implementation divides the deltaX/Y by 16, which on firefox rounds to 0. chrome and firefox have different units ([see WheelEvent.deltaMode on MDN](https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent)), so the solution is either to pass the deltaX/Y values unmodified, or to attempt to compensate for the deltaMode."}}