[dojo-contributors] Should we be normalizing mouseWheel scroll event?

Karl Tiedt ktiedt at gmail.com
Fri Oct 22 13:03:48 EDT 2010


Dustin pointed out something I overlooked,

Basically you can do this for all browsers

delta = (e.delta ? e.delta * -1 : e.wheelDelta / 120);

In my testing I have not seen any values other than the ones reported
in that ticket (the paste from before) never changes from -/+3 in  FF
and +120/-120 in IE/Chrome

-Karl Tiedt


More information about the dojo-contributors mailing list