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.
Attachments (0)
Change History (4)
Changed August 09, 2011 09:12PM UTC by comment:1
Changed February 11, 2012 08:49PM UTC by comment:3
Pull request: https://github.com/jquery/jquery-ui/pull/596
Changed February 17, 2012 01:25AM UTC by comment:4
resolution: | → fixed |
---|---|
status: | new → closed |
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
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