mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-15 19:20:47 +01:00
Api: Fix clicking Select dropdown button while open did not close dropdown
This commit is contained in:
parent
178b862bcf
commit
39c308bcd6
@ -863,12 +863,7 @@ export const Et2WithSearchMixin = <T extends Constructor<LitElement>>(superclass
|
|||||||
{
|
{
|
||||||
this.createFreeEntry(this._searchInputNode.value);
|
this.createFreeEntry(this._searchInputNode.value);
|
||||||
}
|
}
|
||||||
await this.dropdown.hide();
|
|
||||||
this.clearSearch();
|
this.clearSearch();
|
||||||
if(event.relatedTarget && event.relatedTarget !== this)
|
|
||||||
{
|
|
||||||
event.relatedTarget.focus();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user