diff --git a/src/BootstrapBlazor/BootstrapBlazor.csproj b/src/BootstrapBlazor/BootstrapBlazor.csproj index cad1ca4d1d9..66aaf11902e 100644 --- a/src/BootstrapBlazor/BootstrapBlazor.csproj +++ b/src/BootstrapBlazor/BootstrapBlazor.csproj @@ -1,7 +1,7 @@ - 8.8.3-beta01 + 8.8.3-beta02 diff --git a/src/BootstrapBlazor/Components/Table/Table.razor.js b/src/BootstrapBlazor/Components/Table/Table.razor.js index 0d1ded358bd..038f5408f6b 100644 --- a/src/BootstrapBlazor/Components/Table/Table.razor.js +++ b/src/BootstrapBlazor/Components/Table/Table.razor.js @@ -303,8 +303,8 @@ const setBodyHeight = table => { card.style.height = `calc(100% - ${bodyHeight}px)` } else { - const body = table.body || table.tables[0] - if (bodyHeight > 0) { + const body = table.body || table.tables[0]; + if (bodyHeight > 0 && body && body.parentNode) { body.parentNode.style.height = `calc(100% - ${bodyHeight}px)` } let headerHeight = 0