The height property (number) specifies the modal dialog height in pixels. If DayPilot.Modal.autoStretch is enabled, this value becomes the minimum height.
DayPilot.Modal.height200When DayPilot.Modal.autoStretch is enabled, the dialog can grow beyond this value to avoid a scrollbar.
If DayPilot.Modal.maxHeight is set, the automatic growth stops there.
const modal = new DayPilot.Modal({
height: 320,
autoStretch: true,
maxHeight: 600,
// ...
});
modal.showUrl("/dialog.html");