Ticket #7550 (closed bug: fixed)
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: | ||
| Blocking: | Blocked by: |
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.
Change History
comment:3 Changed 16 months ago by scott.gonzalez
Pull request: https://github.com/jquery/jquery-ui/pull/596
comment:4 Changed 15 months ago by Scott González
- Status changed from new to closed
- Resolution set to fixed
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
Note: See
TracTickets for help on using
tickets.


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