Pressing escape while in search now closes dropdown

This commit is contained in:
nathan 2022-09-23 10:40:16 -06:00
parent 074a03f2ec
commit 171c9c02cb

View File

@ -818,6 +818,7 @@ export const Et2WithSearchMixin = <T extends Constructor<LitElement>>(superclass
else if(event.key == "Escape") else if(event.key == "Escape")
{ {
this._handleSearchAbort(event); this._handleSearchAbort(event);
this.dropdown.hide();
return; return;
} }