From 29bad3d5e3ddbf1a80665f6aa92a04984bb6295a Mon Sep 17 00:00:00 2001 From: Argo-AscioTech Date: Mon, 12 Aug 2024 21:41:21 +0800 Subject: [PATCH 1/2] fix: throw exception when resize window --- src/BootstrapBlazor/Components/Table/Table.razor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 From 27620dc045ca274b47e52c6dbc6e02a07d0f3a8e Mon Sep 17 00:00:00 2001 From: Argo-AscioTech Date: Mon, 12 Aug 2024 21:41:58 +0800 Subject: [PATCH 2/2] chore: bump version 8.8.3-beta02 --- src/BootstrapBlazor/BootstrapBlazor.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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