mirror of
https://gitee.com/LongbowEnterprise/BootstrapBlazor.git
synced 2024-12-02 03:59:14 +08:00
fix(Table): throw exception when resize window on enable detail and fix header (#4037)
* fix: throw exception when resize window * chore: bump version 8.8.3-beta02
This commit is contained in:
parent
3554cc95ef
commit
04026f7f29
@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.Razor">
|
||||
|
||||
<PropertyGroup>
|
||||
<Version>8.8.3-beta01</Version>
|
||||
<Version>8.8.3-beta02</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Condition="'$(TargetFramework)' == 'net5.0'">
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user