dynamically change width/height of a mat-dialog in Angular 12

Viewed 914

it is possible to change dynamically the height/width of a mat-dialog according the content inside?

for example, if I have a mat-select with three options and each one shows a different number of fields below the select field, it is possible to do the dialog change size to fill the content?

I'm learning Angular and don't know if its possible. I do not have any ideias how could do that

1 Answers
Related