Opened 9 years ago
Closed 9 years ago
#10121 closed bug (notabug)
Autocomplete: `pending` count does not get reset with remote source in some cases.
Reported by: | jessehouchins | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.autocomplete | Version: | 1.10.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
This seems identical to this bug that was apparently fixed in 1.8: http://bugs.jqueryui.com/ticket/8616 However I am still seeing it in v1.10.4
My specific case is as follows.
- I have a remote source function.
- if I type a search quickly and tab out before results return, the
ui-autocomplete-loading
class remains. Removing this class manually and performing another search still leaves the class (assuming that the pending counter is not returning to zero.
Change History (2)
comment:1 Changed 9 years ago by
comment:2 Changed 9 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
It seems like this is actually a problem with my source function implementation. I was debouncing my source function manually rather than using the delay option so i could trigger the search event immediately. This meant that not all autocomplete._search calls were creating a ._response call. This can be closed.