Bug Tracker

Opened 8 years ago

Last modified 7 years ago

#8157 closed bug

Focusing an already focused text field will prevent the change event from firing in IE — at Version 12

Reported by: scottgonzalez Owned by:
Priority: blocker Milestone: 1.7
Component: event Version: 1.5
Keywords: 1.7-discuss Cc:
Blocked by: Blocking:

Description (last modified by ajpiano)

If a text field is being edited and it programmatically receives focus while already focused, the change event will not be fired in IE (if no additional changes are made after the field is focused again).

Test case: http://jsbin.com/ukihu5/2/edit

According to the pull request for jQuery UI, this was introduced in 1.4.3 and is caused by jQuery.event.special.change.filters.

Related jQuery UI bug: http://bugs.jqueryui.com/ticket/6694

Change History (12)

comment:1 Changed 8 years ago by jitter

Component: unfiledevent

comment:2 Changed 8 years ago by jitter

Priority: undecidedhigh
Status: newopen

comment:3 Changed 8 years ago by john

Priority: highblocker

comment:4 Changed 8 years ago by john

Keywords: 1.7-discuss added

Nominating ticket for 1.7 discussion.

comment:5 Changed 8 years ago by Rick Waldron

Description: modified (diff)

+1, Could be coupled with an "oninput" normalization

comment:6 Changed 8 years ago by jaubourg

-1, I think there's something I don't understand here... the value didn't change yet we expect a change event?

comment:7 Changed 8 years ago by timmywil

+1, confirmed

comment:8 in reply to:  6 Changed 8 years ago by scottgonzalez

Description: modified (diff)

Replying to jaubourg:

-1, I think there's something I don't understand here... the value didn't change yet we expect a change event?

focus the field, change the value, programmatically focus the field again, blur the field; there should be a change event, but there's not.

comment:9 Changed 8 years ago by dmethvin

+1, Seems like we should fix it but not sure why it's on the feature list.

comment:10 Changed 8 years ago by john

Description: modified (diff)

+1, Oof, would be good to get resolved. Not it!

comment:11 Changed 8 years ago by scottgonzalez

+1

comment:12 Changed 8 years ago by ajpiano

Description: modified (diff)

+1

Note: See TracTickets for help on using tickets.