In a p-dialog
that have a class, it works fine on Chrome, Firefox and IE Edge but does not work properly in IE<=11.
<p-dialog [baseZIndex]="10000" [contentStyle]="{'overflow':'visible'}" responsive="true" modal="true" #noteView
[(visible)]="displayModal" [appendTo]="'body'" (onShow)="onAfterShow($event)" class="example-dialog">
</p-dialog>
and this is the media query on my css
@media all and (min-width: 1024px) and (-ms-high-contrast: active), (-ms-high-contrast: none) {
::ng-deep .example-dialog .ui-dialog {
width: 60%;
height: 50%;
overflow-y: auto;
}
}
How can I fix this problem?