Skip to content

Commit

Permalink
Merge pull request #10893 from mirzaceligija/PrimeNG13-dynamicDialogFix
Browse files Browse the repository at this point in the history
Fixed #10882 - DynamicDialog does not block interaction with elements behind the mask
  • Loading branch information
yigitfindikli authored Nov 29, 2021
2 parents bba6f06 + e693e8b commit 572abd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/dynamicdialog/dynamicdialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const hideAnimation = animation([
@Component({
selector: 'p-dynamicDialog',
template: `
<div #mask [ngClass]="{'p-dialog-mask':true, 'p-component-overlay-enter p-dialog-mask-scrollblocker': config.modal !== false}">
<div #mask [ngClass]="{'p-dialog-mask':true, 'p-component-overlay p-component-overlay-enter p-dialog-mask-scrollblocker': config.modal !== false}">
<div [ngClass]="{'p-dialog p-dynamic-dialog p-component':true, 'p-dialog-rtl': config.rtl}" [ngStyle]="config.style" [class]="config.styleClass"
[@animation]="{value: 'visible', params: {transform: transformOptions, transition: config.transitionOptions || '150ms cubic-bezier(0, 0, 0.2, 1)'}}"
(@animation.start)="onAnimationStart($event)" (@animation.done)="onAnimationEnd($event)" role="dialog" *ngIf="visible"
Expand Down

0 comments on commit 572abd0

Please sign in to comment.