I’m using some dijit.form.NumberSpinner widgets in my dojo-based application, all of them are connected to onChange actions.
A problem occurs when one has an area with lots of NumberSpinners: Users scroll across the page and accidentally fill the NumberSpinner fields with unintended values while scrolling with the mousewheel all over the area.
Is it somehow possible to disable mousewheel events on dijit.form.NumberSpinner widgets?
If you never need it, and if you have access to the dojo sources and are able to do your own builds, comment this line on dijit/form/_Spinner.js :
Alternatively, you can set the intermediateChanges property to true on your widget, and do something like this :
In your html :
In your javascript block :