@@ -107,7 +107,7 @@ exports[`Table.Expand > childrenColumnName 1`] = `
107
107
108
108
exports [` Table.Expand > does not crash if scroll is not set 1` ] = `
109
109
<div
110
- class = " rc-table rc-table-fix-start-shadow rc-table-fix-end-shadow rc-table-scroll-horizontal"
110
+ class = " rc-table rc-table-fix-start-shadow rc-table-fix-end-shadow rc-table-fixed-column rc-table- scroll-horizontal rc-table-has-fix-start "
111
111
>
112
112
<div
113
113
class = " rc-table-container"
@@ -117,13 +117,21 @@ exports[`Table.Expand > does not crash if scroll is not set 1`] = `
117
117
style = " overflow-x: auto; overflow-y: hidden;"
118
118
>
119
119
<table
120
- style = " min-width: 100%; table-layout: auto ;"
120
+ style = " min-width: 100%; table-layout: fixed ;"
121
121
>
122
- <colgroup />
122
+ <colgroup >
123
+ <col
124
+ class = " rc-table-expand-icon-col"
125
+ />
126
+ </colgroup >
123
127
<thead
124
128
class = " rc-table-thead"
125
129
>
126
130
<tr >
131
+ <th
132
+ class = " rc-table-cell rc-table-row-expand-icon-cell rc-table-cell-fix rc-table-cell-fix-start rc-table-cell-fix-start-shadow"
133
+ style = " inset-inline-start: 0; --z-offset: 8; --z-offset-reverse: 4;"
134
+ />
127
135
<th
128
136
class = " rc-table-cell"
129
137
scope = " col"
@@ -179,11 +187,28 @@ exports[`Table.Expand > does not crash if scroll is not set 1`] = `
179
187
180
188
</div >
181
189
</td >
190
+ <td
191
+ style = " padding: 0px; border: 0px; height: 0px;"
192
+ >
193
+ <div
194
+ style = " height: 0px; overflow: hidden;"
195
+ >
196
+
197
+ </div >
198
+ </td >
182
199
</tr >
183
200
<tr
184
201
class = " rc-table-row rc-table-row-level-0"
185
202
data-row-key = " 0"
186
203
>
204
+ <td
205
+ class = " rc-table-cell rc-table-row-expand-icon-cell rc-table-cell-fix rc-table-cell-fix-start rc-table-cell-fix-start-shadow"
206
+ style = " inset-inline-start: 0; --z-offset: 8; --z-offset-reverse: 4;"
207
+ >
208
+ <span
209
+ class = " rc-table-row-expand-icon rc-table-row-collapsed"
210
+ />
211
+ </td >
187
212
<td
188
213
class = " rc-table-cell"
189
214
>
@@ -204,6 +229,14 @@ exports[`Table.Expand > does not crash if scroll is not set 1`] = `
204
229
class = " rc-table-row rc-table-row-level-0"
205
230
data-row-key = " 1"
206
231
>
232
+ <td
233
+ class = " rc-table-cell rc-table-row-expand-icon-cell rc-table-cell-fix rc-table-cell-fix-start rc-table-cell-fix-start-shadow"
234
+ style = " inset-inline-start: 0; --z-offset: 8; --z-offset-reverse: 4;"
235
+ >
236
+ <span
237
+ class = " rc-table-row-expand-icon rc-table-row-collapsed"
238
+ />
239
+ </td >
207
240
<td
208
241
class = " rc-table-cell"
209
242
>
@@ -229,7 +262,7 @@ exports[`Table.Expand > does not crash if scroll is not set 1`] = `
229
262
230
263
exports [` Table.Expand > does not crash if scroll is not set 2` ] = `
231
264
<div
232
- class = " rc-table rc-table-fix-start-shadow rc-table-fix-end-shadow rc-table-scroll-horizontal"
265
+ class = " rc-table rc-table-fix-start-shadow rc-table-fix-end-shadow rc-table-fixed-column rc-table- scroll-horizontal rc-table-has-fix-start "
233
266
>
234
267
<div
235
268
class = " rc-table-container"
@@ -239,13 +272,21 @@ exports[`Table.Expand > does not crash if scroll is not set 2`] = `
239
272
style = " overflow-x: auto; overflow-y: hidden;"
240
273
>
241
274
<table
242
- style = " min-width: 100%; table-layout: auto ;"
275
+ style = " min-width: 100%; table-layout: fixed ;"
243
276
>
244
- <colgroup />
277
+ <colgroup >
278
+ <col
279
+ class = " rc-table-expand-icon-col"
280
+ />
281
+ </colgroup >
245
282
<thead
246
283
class = " rc-table-thead"
247
284
>
248
285
<tr >
286
+ <th
287
+ class = " rc-table-cell rc-table-row-expand-icon-cell rc-table-cell-fix rc-table-cell-fix-start rc-table-cell-fix-start-shadow"
288
+ style = " inset-inline-start: 0; --z-offset: 8; --z-offset-reverse: 4;"
289
+ />
249
290
<th
250
291
class = " rc-table-cell"
251
292
scope = " col"
@@ -301,11 +342,28 @@ exports[`Table.Expand > does not crash if scroll is not set 2`] = `
301
342
302
343
</div >
303
344
</td >
345
+ <td
346
+ style = " padding: 0px; border: 0px; height: 0px;"
347
+ >
348
+ <div
349
+ style = " height: 0px; overflow: hidden;"
350
+ >
351
+
352
+ </div >
353
+ </td >
304
354
</tr >
305
355
<tr
306
356
class = " rc-table-row rc-table-row-level-0"
307
357
data-row-key = " 0"
308
358
>
359
+ <td
360
+ class = " rc-table-cell rc-table-row-expand-icon-cell rc-table-cell-fix rc-table-cell-fix-start rc-table-cell-fix-start-shadow"
361
+ style = " inset-inline-start: 0; --z-offset: 8; --z-offset-reverse: 4;"
362
+ >
363
+ <span
364
+ class = " rc-table-row-expand-icon rc-table-row-collapsed"
365
+ />
366
+ </td >
309
367
<td
310
368
class = " rc-table-cell"
311
369
>
@@ -326,6 +384,14 @@ exports[`Table.Expand > does not crash if scroll is not set 2`] = `
326
384
class = " rc-table-row rc-table-row-level-0"
327
385
data-row-key = " 1"
328
386
>
387
+ <td
388
+ class = " rc-table-cell rc-table-row-expand-icon-cell rc-table-cell-fix rc-table-cell-fix-start rc-table-cell-fix-start-shadow"
389
+ style = " inset-inline-start: 0; --z-offset: 8; --z-offset-reverse: 4;"
390
+ >
391
+ <span
392
+ class = " rc-table-row-expand-icon rc-table-row-collapsed"
393
+ />
394
+ </td >
329
395
<td
330
396
class = " rc-table-cell"
331
397
>
@@ -906,7 +972,7 @@ exports[`Table.Expand > renders tree row correctly with different children 1`] =
906
972
907
973
exports [` Table.Expand > work in expandable fix 1` ] = `
908
974
<div
909
- class = " rc-table rc-table-fix-start-shadow rc-table-fix-end-shadow rc-table-scroll-horizontal"
975
+ class = " rc-table rc-table-fix-start-shadow rc-table-fix-end-shadow rc-table-fixed-column rc-table- scroll-horizontal rc-table-has-fix-start "
910
976
>
911
977
<div
912
978
class = " rc-table-container"
@@ -916,13 +982,21 @@ exports[`Table.Expand > work in expandable fix 1`] = `
916
982
style = " overflow-x: auto; overflow-y: hidden;"
917
983
>
918
984
<table
919
- style = " width: 903px; min-width: 100%; table-layout: auto ;"
985
+ style = " width: 903px; min-width: 100%; table-layout: fixed ;"
920
986
>
921
- <colgroup />
987
+ <colgroup >
988
+ <col
989
+ class = " rc-table-expand-icon-col"
990
+ />
991
+ </colgroup >
922
992
<thead
923
993
class = " rc-table-thead"
924
994
>
925
995
<tr >
996
+ <th
997
+ class = " rc-table-cell rc-table-row-expand-icon-cell rc-table-cell-fix rc-table-cell-fix-start rc-table-cell-fix-start-shadow"
998
+ style = " inset-inline-start: 0; --z-offset: 8; --z-offset-reverse: 4;"
999
+ />
926
1000
<th
927
1001
class = " rc-table-cell"
928
1002
scope = " col"
@@ -978,11 +1052,28 @@ exports[`Table.Expand > work in expandable fix 1`] = `
978
1052
979
1053
</div >
980
1054
</td >
1055
+ <td
1056
+ style = " padding: 0px; border: 0px; height: 0px;"
1057
+ >
1058
+ <div
1059
+ style = " height: 0px; overflow: hidden;"
1060
+ >
1061
+
1062
+ </div >
1063
+ </td >
981
1064
</tr >
982
1065
<tr
983
1066
class = " rc-table-row rc-table-row-level-0"
984
1067
data-row-key = " 0"
985
1068
>
1069
+ <td
1070
+ class = " rc-table-cell rc-table-row-expand-icon-cell rc-table-cell-fix rc-table-cell-fix-start rc-table-cell-fix-start-shadow"
1071
+ style = " inset-inline-start: 0; --z-offset: 8; --z-offset-reverse: 4;"
1072
+ >
1073
+ <span
1074
+ class = " rc-table-row-expand-icon rc-table-row-collapsed"
1075
+ />
1076
+ </td >
986
1077
<td
987
1078
class = " rc-table-cell"
988
1079
>
@@ -1003,6 +1094,14 @@ exports[`Table.Expand > work in expandable fix 1`] = `
1003
1094
class = " rc-table-row rc-table-row-level-0"
1004
1095
data-row-key = " 1"
1005
1096
>
1097
+ <td
1098
+ class = " rc-table-cell rc-table-row-expand-icon-cell rc-table-cell-fix rc-table-cell-fix-start rc-table-cell-fix-start-shadow"
1099
+ style = " inset-inline-start: 0; --z-offset: 8; --z-offset-reverse: 4;"
1100
+ >
1101
+ <span
1102
+ class = " rc-table-row-expand-icon rc-table-row-collapsed"
1103
+ />
1104
+ </td >
1006
1105
<td
1007
1106
class = " rc-table-cell"
1008
1107
>
0 commit comments