Skip to content

Commit

Permalink
Fix lag in AutoCompleteComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinKlein1508 committed Oct 25, 2023
1 parent d382b66 commit df92caa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ private async Task OnInputChangedAsync(ChangeEventArgs args)
cancellationTokenSource = new CancellationTokenSource();

var token = cancellationTokenSource.Token;
await Task.Delay(300, token); // 300ms timeout for the debouncing

await FilterDataAsync(token);

closeButton?.HideLoading();
Expand Down

0 comments on commit df92caa

Please sign in to comment.