fix: disable scrolling if there is an overlay

This commit is contained in:
Polianin Nikita 2024-08-23 23:22:37 +03:00
parent 48bc7ca005
commit 1d79860df3

View File

@ -1,4 +1,4 @@
<section class="mat-elevation-z8 table-section" tabindex="0"> <section class="mat-elevation-z8 table-section" tabindex="0" [style.overflow]="(dataSource.length === 0 || isLoad ? 'hidden' : 'auto')">
@if (dataSource.length === 0 || isLoad) { @if (dataSource.length === 0 || isLoad) {
<div class="overlay"> <div class="overlay">
@if (isLoad) { @if (isLoad) {