dialog animation removal

This commit is contained in:
Diamantis Tziotzios 2020-09-16 18:15:54 +03:00
parent 418d29b7d5
commit 9769c5b78f
2 changed files with 8 additions and 8 deletions

View File

@ -8,7 +8,7 @@
<p class="mt-4 pt-2">{{'DMP-LISTING.TEXT-INFO-QUESTION' | translate}} <a class="zenodo-link" href="https://zenodo.org/communities/liber-dmp-cat/?page=1&size=20" target="_blank">{{'DMP-LISTING.LINK-ZENODO' | translate}}</a> {{'DMP-LISTING.GET-IDEA' | translate}}</p>
</div>
</div>
<div class="filter-btn" [style.right]="dialogAnimation.dialog.getDialogById('filters') ? '446px' : '0px'" [style.width]="scrollbar ? '57px' : '37px'" (click)="openFiltersDialog()">
<div class="filter-btn" [style.right]="this.dialog.getDialogById('filters') ? '446px' : '0px'" [style.width]="scrollbar ? '57px' : '37px'" (click)="openFiltersDialog()">
<button mat-raised-button class="p-0">
<mat-icon class="mr-4">filter_alt</mat-icon>
</button>

View File

@ -348,7 +348,7 @@ export class DmpListingComponent extends BaseComponent implements OnInit, IBread
}
openFiltersDialog(): void {
const dialogRef = this.dialogAnimation.open(DmpCriteriaDialogComponent, {
const dialogRef = this.dialog.open(DmpCriteriaDialogComponent, {
width: '456px',
height: '100%',
id: 'filters',
@ -362,12 +362,12 @@ export class DmpListingComponent extends BaseComponent implements OnInit, IBread
updateDataFn: this.updateDataFn.bind(this)
},
position: { right: '0px;' },
animation: {
to: "left",
incomingOptions: {
keyframeAnimationOptions: { duration: 300, easing: "ease-in-out" }
}
}
// animation: {
// to: "left",
// incomingOptions: {
// keyframeAnimationOptions: { duration: 300, easing: "ease-in-out" }
// }
// }
});
dialogRef.afterClosed().subscribe(result => {