Et2Colorpicker: Let popup panel auto-position

Fixes color picker goes offscreen in kanban board edit
This commit is contained in:
nathan 2023-03-08 11:26:47 -07:00
parent ab8aba49a5
commit 72d601b393

View File

@ -76,9 +76,6 @@ export class Et2Colorpicker extends Et2InputWidget(SlColorPicker)
{
super.firstUpdated(_changedProperties);
// After nodes are created, override placement
this.dropdown.placement = "right";
// Add in clear button - parent has no accessible slots
render(this._clearButtonTemplate(), this._buttonNode);
}