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 b703e2bfe5
commit 0492c92352

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);
}