Skip to content

Commit

Permalink
Merge pull request primefaces#11524 from Hapcy/primeng-11523
Browse files Browse the repository at this point in the history
fix(primeng/confirmDialog): remove moveOnTop call from confirmdialog mousedown
  • Loading branch information
cetincakiroglu authored May 25, 2022
2 parents 6e14f9f + f95d36e commit 972a4d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/confirmdialog/confirmdialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const hideAnimation = animation([
selector: 'p-confirmDialog',
template: `
<div [class]="maskStyleClass" [ngClass]="getMaskClass()" *ngIf="maskVisible">
<div [ngClass]="{'p-dialog p-confirm-dialog p-component':true,'p-dialog-rtl':rtl}" [ngStyle]="style" [class]="styleClass" (mousedown)="moveOnTop()"
<div [ngClass]="{'p-dialog p-confirm-dialog p-component':true,'p-dialog-rtl':rtl}" [ngStyle]="style" [class]="styleClass"
[@animation]="{value: 'visible', params: {transform: transformOptions, transition: transitionOptions}}" (@animation.start)="onAnimationStart($event)" (@animation.done)="onAnimationEnd($event)" *ngIf="visible">
<div class="p-dialog-header" *ngIf="headerTemplate">
<ng-container *ngTemplateOutlet="headerTemplate"></ng-container>
Expand Down

0 comments on commit 972a4d3

Please sign in to comment.