From 39c308bcd632ce1a52cc96349d92e7f084d82693 Mon Sep 17 00:00:00 2001 From: nathan Date: Mon, 1 May 2023 08:55:25 -0600 Subject: [PATCH] Api: Fix clicking Select dropdown button while open did not close dropdown --- api/js/etemplate/Et2Select/SearchMixin.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/api/js/etemplate/Et2Select/SearchMixin.ts b/api/js/etemplate/Et2Select/SearchMixin.ts index ca413af9e2..3108ed14a1 100644 --- a/api/js/etemplate/Et2Select/SearchMixin.ts +++ b/api/js/etemplate/Et2Select/SearchMixin.ts @@ -863,12 +863,7 @@ export const Et2WithSearchMixin = >(superclass { this.createFreeEntry(this._searchInputNode.value); } - await this.dropdown.hide(); this.clearSearch(); - if(event.relatedTarget && event.relatedTarget !== this) - { - event.relatedTarget.focus(); - } } /**