You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you set minLength to 1 instead of 2 (the default), there is an unnecessary fetch for the first character of the search term. The first fetch should be fired after debounceWaitMs milliseconds, but there is an immediate fetch for the first character.
The issue probably has to be somewhere between line 392 and line 404:
If you set minLength to 1 instead of 2 (the default), there is an unnecessary fetch for the first character of the search term. The first fetch should be fired after debounceWaitMs milliseconds, but there is an immediate fetch for the first character.
The issue probably has to be somewhere between line 392 and line 404:
https://github.com/kraaden/autocomplete/blob/master/autocomplete.ts#L392
Strangely that first fetch doesn't happen with minLength=2. I'm not sure why, but probably you know that code better than I do :)
The text was updated successfully, but these errors were encountered: