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 58a20e72b9
commit 2fc44da034

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();
}
}
/**