Global search: Allow ESC to close the auto completer

pull/6929/head
Wieland Lindenthal 6 years ago
parent b952c4134f
commit 9761afb4d1
  1. 3
      frontend/src/app/modules/global_search/global-search-input.component.html

@ -20,7 +20,8 @@
[ngModel]="searchTerm"
(focus) = "resize()"
(focusout) = "resize()"
(keyup.enter)="submitNonEmptySearch()">
(keyup.enter)="submitNonEmptySearch()"
(keydown.escape)="inputEl.blur()">
<a #btn
id="top-menu-search-button"
class="top-menu-search--button search-form-normal"

Loading…
Cancel
Save