Try our conversational search powered by Generative AI!

NumberSpinner grabs focus on mouse wheel event

Found in

Release 7

Created

Oct 07, 2014

Updated

Oct 08, 2014

Area

Falcon/CMS/Edit UI/Editing

State

Closed, Fixed and Tested


Steps to reproduce

When scrolling with the mouse wheel over an unfocused number spinner it grabs focus and the value is changed by scrolling through the available numbers.

 

This is problematic when using the mouse wheel to scroll a long form and the cursor passes over a number spinner.

Then the number spinner starts scrolling instead of the form, which leads to a value change in the spinner.

  1. Add an integer property to a page (e.g. Standard page)
  2. Go to "all properties" mode and resize the window so you get scrolling in the form area.
  3. Scroll the form and let the cursor pass over the spinner input
The scrolling of the document stops and the value in the number input stars changing.

Reported as a bug in dijit

https://bugs.dojotoolkit.org/ticket/18300