Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only get suggestions once when the input field is initially focused (#…
…175) Right now the suggestions are loaded whenever the field is empty and it gets the focus. That's not needed, because old results are retained anyway, thus we only ever need to get the suggestions once. (If it gets refocused it displays the old suggestions again.) This will save us quite some API requests and also will it save us from race conditions when two such api requests are returning. https://phabricator.wikimedia.org/T143645
- Loading branch information
1 parent
888bdf8
commit 2d77cde
Showing
3 changed files
with
8 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
vendor/ |
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