Search and Top Navigation
#9448 closed bug (notabug)
Opened July 23, 2013 02:28AM UTC
Closed July 23, 2013 12:53PM UTC
Last modified July 23, 2013 02:58PM UTC
Spinner "stop" event is called even when typing the value in with the keyboard
Reported by: | mikerobinson | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.spinner | Version: | 1.10.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
According to the docs, the stop event should only be "triggered after a spin", however I noticed that it is also triggered when an onkeyup() event is fired for the respective input element using the keyboard. I would like to differentiate between changing the value using the keyboard and using the spinner, but that doesn't seem to be possible.
Here's my jsFiddle
The intention of the
method is to work for both. If you need to differentiate between clicks and keypresses you can look at the of the event - http://jsfiddle.net/vPxhT/.