mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-05 13:39:23 +01:00
Api: Fix clicking Select dropdown button while open did not close dropdown
This commit is contained in:
parent
58a20e72b9
commit
2fc44da034
@ -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