chore(docs-app): add debounce to search input
This fixes issues where the search results do not correctly reflect the search query. This happens in Firefox when you enter a search query very rapidly. There is probably an issue with the async behavior of the search / webworker, so this is just a workaround.
This commit is contained in:
@@ -83,6 +83,7 @@
|
||||
ng-blur="focus=false"
|
||||
ng-change="search(q)"
|
||||
ng-model="q"
|
||||
ng-model-options="{debounce: 150}"
|
||||
docs-search-input
|
||||
autocomplete="off">
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user