diff --git a/api/js/etemplate/Et2Select/SearchMixin.ts b/api/js/etemplate/Et2Select/SearchMixin.ts index 60d74a0ef2..8009574255 100644 --- a/api/js/etemplate/Et2Select/SearchMixin.ts +++ b/api/js/etemplate/Et2Select/SearchMixin.ts @@ -633,7 +633,7 @@ export const Et2WithSearchMixin = >(superclass { this.dropdown?.setAttribute("distance", !this._activeControls || this._activeControls?.classList.contains("novalue") ? - "" : + parseInt(getComputedStyle(this.control).getPropertyValue("border-width")) : // Make room for search below parseInt(getComputedStyle(this._activeControls).getPropertyValue("--sl-input-height-medium")) );