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

Karl Tiedt ktiedt at gmail.com
Thu Oct 21 17:15:18 EDT 2010


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


More information about the dojo-contributors mailing list