Skip to content
Snippets Groups Projects
Commit b5b7c1e7 authored by OZGCloud's avatar OZGCloud
Browse files

activate scrolling when neue nachricht dialog is open

parent 24bb0202
No related branches found
No related tags found
No related merge requests found
...@@ -6,20 +6,22 @@ import { FixedDialogComponent } from "@goofy-client/ui"; ...@@ -6,20 +6,22 @@ import { FixedDialogComponent } from "@goofy-client/ui";
import { ConnectionTimeoutRetryDialogComponent } from "../http-error-dialog/connection-timeout-retry-dialog/connection-timeout-retry-dialog.component"; import { ConnectionTimeoutRetryDialogComponent } from "../http-error-dialog/connection-timeout-retry-dialog/connection-timeout-retry-dialog.component";
import { ConnectionTimeoutRetryFailDialogComponent } from "../http-error-dialog/connection-timeout-retry-fail-dialog/connection-timeout-retry-fail-dialog.component"; import { ConnectionTimeoutRetryFailDialogComponent } from "../http-error-dialog/connection-timeout-retry-fail-dialog/connection-timeout-retry-fail-dialog.component";
import { InternalServerErrorDialogComponent } from "../notification/internal-server-error-dialog/internal-server-error-dialog.component"; import { InternalServerErrorDialogComponent } from "../notification/internal-server-error-dialog/internal-server-error-dialog.component";
import { NoopScrollStrategy } from '@angular/cdk/overlay';
@Injectable({ providedIn: 'root' }) @Injectable({ providedIn: 'root' })
export class DialogService { export class DialogService {
readonly FIXED_DIALOG_CONFIG = { readonly FIXED_DIALOG_CONFIG: MatDialogConfig = {
width: '520px', width: '520px',
position: { bottom: '0', right: '30px' }, position: { bottom: '0', right: '30px' },
hasBackdrop: false, hasBackdrop: false,
panelClass: 'fixed-dialog', panelClass: 'fixed-dialog',
disableClose: true, disableClose: true,
autoFocus: false autoFocus: false,
scrollStrategy: new NoopScrollStrategy()
}; };
readonly SERVER_ERROR_DIALOG_CONFIG = { readonly SERVER_ERROR_DIALOG_CONFIG: MatDialogConfig = {
width: '440px', width: '440px',
disableClose: true, disableClose: true,
panelClass: 'notification-dialog' panelClass: 'notification-dialog'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment