Fix disappearing tags when user clicks on search after selecting a result

This commit is contained in:
nathan 2024-04-17 09:04:37 -06:00
parent 3acbd7b462
commit 2430f65304

View File

@ -471,6 +471,7 @@ export const Et2WithSearchMixin = dedupeMixin(<T extends Constructor<LitElement>
tabindex="-1"
placeholder="${this.egw().lang("search")}"
style="flex: 1 1 auto;"
@mousedown=${this._handleSearchMouseDown}
@keydown=${this._handleSearchKeyDown}
@blur=${this._handleSearchBlur}
@sl-clear=${this._handleSearchClear}
@ -929,6 +930,7 @@ export const Et2WithSearchMixin = dedupeMixin(<T extends Constructor<LitElement>
*/
async _handleSearchBlur(event : FocusEvent)
{
event.stopPropagation();
clearTimeout(this._searchTimeout);
}