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>({
8787 < WrapperComponent className = { `${ prefixCls } -tbody` } >
8888 { /* Measure body column width with additional hidden col */ }
8989 { measureColumnWidth && (
90- < tr aria-hidden = "true" className = { `${ prefixCls } -measure-row` } >
90+ < tr aria-hidden = "true" className = { `${ prefixCls } -measure-row` } style = { { height : 0 } } >
9191 { columnsKey . map ( columnKey => (
9292 < ResizeObserver
9393 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`] = `
157157 <tr
158158 aria-hidden = " true"
159159 class = " rc-table-measure-row"
160+ style = " height: 0px;"
160161 >
161162 <td
162163 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`] = `
685685 <tr
686686 aria-hidden = " true"
687687 class = " rc-table-measure-row"
688+ style = " height: 0px;"
688689 >
689690 <td
690691 style = " padding: 0px; border: 0px; height: 0px;"
@@ -1305,6 +1306,7 @@ exports[`Table.FixedColumn renders correctly scrollX - without data 1`] = `
13051306 <tr
13061307 aria-hidden = " true"
13071308 class = " rc-table-measure-row"
1309+ style = " height: 0px;"
13081310 >
13091311 <td
13101312 style = " padding: 0px; border: 0px; height: 0px;"
@@ -1504,6 +1506,7 @@ exports[`Table.FixedColumn renders correctly scrollXY - with data 1`] = `
15041506 <tr
15051507 aria-hidden = " true"
15061508 class = " rc-table-measure-row"
1509+ style = " height: 0px;"
15071510 >
15081511 <td
15091512 style = " padding: 0px; border: 0px; height: 0px;"
@@ -2124,6 +2127,7 @@ exports[`Table.FixedColumn renders correctly scrollXY - without data 1`] = `
21242127 <tr
21252128 aria-hidden = " true"
21262129 class = " rc-table-measure-row"
2130+ style = " height: 0px;"
21272131 >
21282132 <td
21292133 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
143143 <tr
144144 aria-hidden = " true"
145145 class = " rc-table-measure-row"
146+ style = " height: 0px;"
146147 >
147148 <td
148149 style = " padding: 0px; border: 0px; height: 0px;"
You can’t perform that action at this time.
0 commit comments