Et2Email: Fix [readonly][rows=1] popup position & z-index issue

This commit is contained in:
nathan 2024-01-11 17:06:34 -07:00
parent f5baa7ee60
commit 684d509d03

View File

@ -1148,7 +1148,7 @@ export class Et2Email extends Et2InputWidget(LitElement) implements SearchMixinI
}
// Offset distance to open _over_ the rest
let distance = (-1 * parseInt(getComputedStyle(this).height));
let distance = (-1 * parseInt(getComputedStyle(this).height)) + 1;
return html`
<sl-popup
active
@ -1315,8 +1315,8 @@ export class Et2Email extends Et2InputWidget(LitElement) implements SearchMixinI
>
<slot name="label">${this.label}</slot>
</label>
<div part="form-control-input" class="form-control-input">
${this.readonlyHoverTemplate()}
<div part="form-control-input" class="form-control-input">
<sl-popup
class=${classMap({
email: true,