File tree Expand file tree Collapse file tree 4 files changed +7
-1
lines changed Expand file tree Collapse file tree 4 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ function Body<RecordType>({
87
87
< WrapperComponent className = { `${ prefixCls } -tbody` } >
88
88
{ /* Measure body column width with additional hidden col */ }
89
89
{ measureColumnWidth && (
90
- < tr aria-hidden = "true" className = { `${ prefixCls } -measure-row` } >
90
+ < tr aria-hidden = "true" className = { `${ prefixCls } -measure-row` } style = { { height : 0 } } >
91
91
{ columnsKey . map ( columnKey => (
92
92
< ResizeObserver
93
93
key = { columnKey }
Original file line number Diff line number Diff line change @@ -157,6 +157,7 @@ exports[`Table.Expand renders fixed column correctly work 1`] = `
157
157
<tr
158
158
aria-hidden = " true"
159
159
class = " rc-table-measure-row"
160
+ style = " height: 0px;"
160
161
>
161
162
<td
162
163
style = " padding: 0px; border: 0px; height: 0px;"
Original file line number Diff line number Diff line change @@ -685,6 +685,7 @@ exports[`Table.FixedColumn renders correctly scrollX - with data 1`] = `
685
685
<tr
686
686
aria-hidden = " true"
687
687
class = " rc-table-measure-row"
688
+ style = " height: 0px;"
688
689
>
689
690
<td
690
691
style = " padding: 0px; border: 0px; height: 0px;"
@@ -1305,6 +1306,7 @@ exports[`Table.FixedColumn renders correctly scrollX - without data 1`] = `
1305
1306
<tr
1306
1307
aria-hidden = " true"
1307
1308
class = " rc-table-measure-row"
1309
+ style = " height: 0px;"
1308
1310
>
1309
1311
<td
1310
1312
style = " padding: 0px; border: 0px; height: 0px;"
@@ -1504,6 +1506,7 @@ exports[`Table.FixedColumn renders correctly scrollXY - with data 1`] = `
1504
1506
<tr
1505
1507
aria-hidden = " true"
1506
1508
class = " rc-table-measure-row"
1509
+ style = " height: 0px;"
1507
1510
>
1508
1511
<td
1509
1512
style = " padding: 0px; border: 0px; height: 0px;"
@@ -2124,6 +2127,7 @@ exports[`Table.FixedColumn renders correctly scrollXY - without data 1`] = `
2124
2127
<tr
2125
2128
aria-hidden = " true"
2126
2129
class = " rc-table-measure-row"
2130
+ style = " height: 0px;"
2127
2131
>
2128
2132
<td
2129
2133
style = " padding: 0px; border: 0px; height: 0px;"
Original file line number Diff line number Diff line change @@ -143,6 +143,7 @@ exports[`Table.Basic custom components renders fixed column and header correctly
143
143
<tr
144
144
aria-hidden = " true"
145
145
class = " rc-table-measure-row"
146
+ style = " height: 0px;"
146
147
>
147
148
<td
148
149
style = " padding: 0px; border: 0px; height: 0px;"
You can’t perform that action at this time.
0 commit comments