Skip to main content

Search and Top Navigation

#8306 closed bug (notabug)

Opened May 09, 2012 11:21AM UTC

Closed May 09, 2012 12:42PM UTC

UI 1.9 Spinner - No change event in IE if only spin once

Reported by: CyrixInstead Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.core Version: git (not yet released)
Keywords: Cc:
Blocked by: Blocking:

See Reproduced with jQuery 1.6.4, 1.7.1, and 1.7.2 in jsfiddle.

In IE (IE6 - 9, not tested in IE10) if you hit the spin image once without first giving focus to the spinner input field, the spinner does not fire the change event on blur of the input field. This does not occur in Firefox or Chrome.

Further investigation reveals that a second focus event fires within the spinner in IE after all normal processing for the spin action has finished. This second focus event does not occur if the user has already placed focus on the input field.

The second focus event means that the stored previous value is updated twice during the first spin, so on blur of the input the check on whether the current value differs from the previous value always fails, incorrectly, and the change event is not fired.

Attachments (0)
Change History (1)

Changed May 09, 2012 12:42PM UTC by scottgonzalez comment:1

resolution: → invalid
status: newclosed

Thanks. Moved to planning wiki; we don't accept tickets for unreleased plugins.