diff --git a/angular/projects/catalyst/src/lib/dialog/dialog.component.html b/angular/projects/catalyst/src/lib/dialog/dialog.component.html index 96b49c46..06bd34d0 100644 --- a/angular/projects/catalyst/src/lib/dialog/dialog.component.html +++ b/angular/projects/catalyst/src/lib/dialog/dialog.component.html @@ -1,5 +1,5 @@ - + +
+ +
+
diff --git a/angular/projects/catalyst/src/lib/dialog/dialog.component.ts b/angular/projects/catalyst/src/lib/dialog/dialog.component.ts index c7b8c62f..a4c32fc7 100644 --- a/angular/projects/catalyst/src/lib/dialog/dialog.component.ts +++ b/angular/projects/catalyst/src/lib/dialog/dialog.component.ts @@ -25,6 +25,13 @@ import { CatDialogHeaderComponent } from './dialog-header.component'; } }) export class CatDialogComponent implements AfterContentInit { + + /** + * Flag to disable scrolling behavior of dialog content. Default is false. If set to true the + * using component is responsible for not overflowing the viewport. + */ + @Input() disableScrolling = false; + /** * Flag to disable/enable overscroll behavior. */