Skip to main content

Search and Top Navigation

#7550 closed bug (fixed)

Opened July 13, 2011 06:03PM UTC

Closed February 17, 2012 01:25AM UTC

Autocomplete change event not triggered in time.

Reported by: garyz Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.autocomplete Version: 1.8.14
Keywords: Cc:
Blocked by: Blocking:
Description

Even though the change event is triggered on blur, it's enclosed in setTimeout with 150ms delay. If the blur is caused by a click of the submit button, then the change callback will run after the submit.

http://jsbin.com/iyiqah/5

Attachments (0)
Change History (4)

Changed August 09, 2011 09:12PM UTC by scottgonzalez comment:1

I've attempted to make the change event synchronous and it worked fine, except in IE. The problem in IE is that you can't interact with the menu at all. Hopefully we can find a way to fix this. https://github.com/scottgonzalez/jquery-ui/compare/autocomplete-syncchange

Changed November 30, 2011 04:20PM UTC by scottgonzalez comment:2

#7484 is a duplicate of this ticket.

Changed February 11, 2012 08:49PM UTC by scottgonzalez comment:3

Changed February 17, 2012 01:25AM UTC by Scott González comment:4

resolution: → fixed
status: newclosed

Autocomplete: Removed the timeout for the change event. Fixes #7550 - Autocomplete change event not triggered in time.

Thanks spekary for finding a workaround for IE.

Changeset: f5b52a89a735082d06d6f6ea950efbccff0a227f