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 54e5365e0b
commit 7c352d0a40

View File

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