Skip to content
Snippets Groups Projects
Commit 3c6e6a9e authored by rhenck's avatar rhenck
Browse files

Make dropLists always start with a min-height

This makes the list not collapse when used in dynamic context.
parent a42bc114
No related branches found
No related tags found
No related merge requests found
......@@ -33,6 +33,10 @@ export class DropListElement extends InputElement implements PositionedElement,
serializedElement.value !== undefined ? serializedElement.value as DragNDropValueObject[] | null : [];
this.height = serializedElement.height || 100;
this.positionProps.useMinHeight =
serializedElement.positionProps?.useMinHeight !== undefined ?
serializedElement.positionProps.useMinHeight as boolean :
true;
this.surfaceProps.backgroundColor =
serializedElement.surfaceProps?.backgroundColor as string ||
serializedElement.backgroundColor as string ||
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment