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 d5dbe71002
commit 48a30afa4b

View File

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