Hello, I’m using a jqxLoader and jqxWindow. When the window is opened, jqxLoader doesn’t cover a window.
I’ve tried to use a jqx-shadow style with z-index, but it didn’t work.
Here is my code.
Thank you !
app.component.ts
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styles: ['
.jqx-shadow {
z-index: 9999 !important;
}
'],
encapsulation: ViewEncapsulation.None
})
export class AppComponent {
}
app.component.html
<jqxLoader #loader [isModal]="true"></jqxLoader>
<jqxWindow #loginWindow [isModal]="true" [autoOpen]="true" [width]="500" [height]="250">
<div>
Login
</div>
<div>
<input type="button" value="Login..." (click)="loader.open()">
</div>
</jqxWindow>