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

Scott J. Miles sjmiles at dojotoolkit.org
Thu Oct 21 17:32:29 EDT 2010


This has been languishing for years here:

http://trac.dojotoolkit.org/ticket/3763

If you can fix that up by transferring the code from Spinner, that would 
be outstanding.

Scott

On 10/21/2010 2:15 PM, Karl Tiedt wrote:
> It seems we make no effort to normalize scrollwheel events yet we
> clearly know how to translate them (_Spinner.js in dijit/form/) does
> anyways...
>
> Before opening a bug figure I would get input or see if there was a
> good reason we did not...
>
> 	var scrollAmount = evt.detail ? (evt.detail * -1) : (evt.wheelDelta /
> 120);<--- detail is Mozilla, wheelData is everything else (IE, Opera,
> Webkit)
>
>
>
> -Karl Tiedt
> _______________________________________________
> dojo-contributors mailing list
> dojo-contributors at mail.dojotoolkit.org
> http://mail.dojotoolkit.org/mailman/listinfo/dojo-contributors



More information about the dojo-contributors mailing list