Opened 11 years ago

Closed 11 years ago

#8306 closed bug (notabug)

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.

Change History (1)

comment:1 Changed 11 years ago by Scott González

Resolution: invalid
Status: newclosed

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

Note: See TracTickets for help on using tickets.