File tree 2 files changed +4
-0
lines changed
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,8 @@ function ExpandedRow(props: ExpandedRowProps) {
61
61
className = { className }
62
62
style = { {
63
63
display : expanded ? null : 'none' ,
64
+ // fix https://github.com/ant-design/ant-design/issues/49279
65
+ visibility : isEmpty && horizonScroll && ! componentWidth ? 'hidden' : null ,
64
66
} }
65
67
>
66
68
< Cell component = { cellComponent } prefixCls = { prefixCls } colSpan = { colSpan } >
Original file line number Diff line number Diff line change @@ -1819,6 +1819,7 @@ exports[`Table.FixedColumn > renders correctly > scrollX - without data 1`] = `
1819
1819
</tr >
1820
1820
<tr
1821
1821
class = " rc-table-placeholder"
1822
+ style = " "
1822
1823
>
1823
1824
<td
1824
1825
class = " rc-table-cell"
@@ -2975,6 +2976,7 @@ exports[`Table.FixedColumn > renders correctly > scrollXY - without data 1`] = `
2975
2976
</tr >
2976
2977
<tr
2977
2978
class = " rc-table-placeholder"
2979
+ style = " "
2978
2980
>
2979
2981
<td
2980
2982
class = " rc-table-cell"
You can’t perform that action at this time.
0 commit comments