Api: Fix clicking Select dropdown button while open did not close dropdown

This commit is contained in:
nathan 2023-05-01 08:55:25 -06:00
parent 178b862bcf
commit 39c308bcd6

View File

@ -863,12 +863,7 @@ export const Et2WithSearchMixin = <T extends Constructor<LitElement>>(superclass
{
this.createFreeEntry(this._searchInputNode.value);
}
await this.dropdown.hide();
this.clearSearch();
if(event.relatedTarget && event.relatedTarget !== this)
{
event.relatedTarget.focus();
}
}
/**