This repository has been archived by the owner on Mar 31, 2024. It is now read-only.
forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix query input lag (elastic#21753) (elastic#21883)
The debounce in ng-model-options was intended to avoid updating the typeahead suggestions too often. It had the side effect of delaying query input updates to the model on the angular scope. As a result, if you typed quickly and hit enter within 100ms, you would submit an out of date query. This moves the debounce from ng-model-options to the updateSuggestions method itself.
- Loading branch information
Showing
2 changed files
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters