@@ -138,7 +138,7 @@ LoadedCheerio {
138
138
exports [` Table.Expand > does not crash if scroll is not set 1` ] = `
139
139
LoadedCheerio {
140
140
" 0" : <div
141
- class = " rc-table rc-table-scroll-horizontal"
141
+ class = " rc-table rc-table-fixed-column rc-table- scroll-horizontal rc-table-has-fix-left "
142
142
>
143
143
<div
144
144
class = " rc-table-container"
@@ -148,13 +148,21 @@ LoadedCheerio {
148
148
style = " overflow-x: auto; overflow-y: hidden;"
149
149
>
150
150
<table
151
- style = " min-width: 100%; table-layout: auto ;"
151
+ style = " min-width: 100%; table-layout: fixed ;"
152
152
>
153
- <colgroup />
153
+ <colgroup >
154
+ <col
155
+ class = " rc-table-expand-icon-col"
156
+ />
157
+ </colgroup >
154
158
<thead
155
159
class = " rc-table-thead"
156
160
>
157
161
<tr >
162
+ <th
163
+ class = " rc-table-cell rc-table-row-expand-icon-cell rc-table-cell-fix-left rc-table-cell-fix-left-last"
164
+ style = " position: sticky; left: 0px;"
165
+ />
158
166
<th
159
167
class = " rc-table-cell"
160
168
scope = " col"
@@ -210,11 +218,28 @@ LoadedCheerio {
210
218
211
219
</div >
212
220
</td >
221
+ <td
222
+ style = " padding: 0px; border: 0px; height: 0px;"
223
+ >
224
+ <div
225
+ style = " height: 0px; overflow: hidden;"
226
+ >
227
+
228
+ </div >
229
+ </td >
213
230
</tr >
214
231
<tr
215
232
class = " rc-table-row rc-table-row-level-0"
216
233
data-row-key = " 0"
217
234
>
235
+ <td
236
+ class = " rc-table-cell rc-table-row-expand-icon-cell rc-table-cell-fix-left rc-table-cell-fix-left-last"
237
+ style = " position: sticky; left: 0px;"
238
+ >
239
+ <span
240
+ class = " rc-table-row-expand-icon rc-table-row-collapsed"
241
+ />
242
+ </td >
218
243
<td
219
244
class = " rc-table-cell"
220
245
>
@@ -235,6 +260,14 @@ LoadedCheerio {
235
260
class = " rc-table-row rc-table-row-level-0"
236
261
data-row-key = " 1"
237
262
>
263
+ <td
264
+ class = " rc-table-cell rc-table-row-expand-icon-cell rc-table-cell-fix-left rc-table-cell-fix-left-last"
265
+ style = " position: sticky; left: 0px;"
266
+ >
267
+ <span
268
+ class = " rc-table-row-expand-icon rc-table-row-collapsed"
269
+ />
270
+ </td >
238
271
<td
239
272
class = " rc-table-cell"
240
273
>
@@ -290,7 +323,7 @@ LoadedCheerio {
290
323
exports [` Table.Expand > does not crash if scroll is not set 2` ] = `
291
324
LoadedCheerio {
292
325
" 0" : <div
293
- class = " rc-table rc-table-scroll-horizontal"
326
+ class = " rc-table rc-table-fixed-column rc-table- scroll-horizontal rc-table-has-fix-left "
294
327
>
295
328
<div
296
329
class = " rc-table-container"
@@ -300,13 +333,21 @@ LoadedCheerio {
300
333
style = " overflow-x: auto; overflow-y: hidden;"
301
334
>
302
335
<table
303
- style = " min-width: 100%; table-layout: auto ;"
336
+ style = " min-width: 100%; table-layout: fixed ;"
304
337
>
305
- <colgroup />
338
+ <colgroup >
339
+ <col
340
+ class = " rc-table-expand-icon-col"
341
+ />
342
+ </colgroup >
306
343
<thead
307
344
class = " rc-table-thead"
308
345
>
309
346
<tr >
347
+ <th
348
+ class = " rc-table-cell rc-table-row-expand-icon-cell rc-table-cell-fix-left rc-table-cell-fix-left-last"
349
+ style = " position: sticky; left: 0px;"
350
+ />
310
351
<th
311
352
class = " rc-table-cell"
312
353
scope = " col"
@@ -362,11 +403,28 @@ LoadedCheerio {
362
403
363
404
</div >
364
405
</td >
406
+ <td
407
+ style = " padding: 0px; border: 0px; height: 0px;"
408
+ >
409
+ <div
410
+ style = " height: 0px; overflow: hidden;"
411
+ >
412
+
413
+ </div >
414
+ </td >
365
415
</tr >
366
416
<tr
367
417
class = " rc-table-row rc-table-row-level-0"
368
418
data-row-key = " 0"
369
419
>
420
+ <td
421
+ class = " rc-table-cell rc-table-row-expand-icon-cell rc-table-cell-fix-left rc-table-cell-fix-left-last"
422
+ style = " position: sticky; left: 0px;"
423
+ >
424
+ <span
425
+ class = " rc-table-row-expand-icon rc-table-row-collapsed"
426
+ />
427
+ </td >
370
428
<td
371
429
class = " rc-table-cell"
372
430
>
@@ -387,6 +445,14 @@ LoadedCheerio {
387
445
class = " rc-table-row rc-table-row-level-0"
388
446
data-row-key = " 1"
389
447
>
448
+ <td
449
+ class = " rc-table-cell rc-table-row-expand-icon-cell rc-table-cell-fix-left rc-table-cell-fix-left-last"
450
+ style = " position: sticky; left: 0px;"
451
+ >
452
+ <span
453
+ class = " rc-table-row-expand-icon rc-table-row-collapsed"
454
+ />
455
+ </td >
390
456
<td
391
457
class = " rc-table-cell"
392
458
>
@@ -1117,7 +1183,7 @@ LoadedCheerio {
1117
1183
exports [` Table.Expand > work in expandable fix 1` ] = `
1118
1184
LoadedCheerio {
1119
1185
" 0" : <div
1120
- class = " rc-table rc-table-scroll-horizontal"
1186
+ class = " rc-table rc-table-fixed-column rc-table- scroll-horizontal rc-table-has-fix-left "
1121
1187
>
1122
1188
<div
1123
1189
class = " rc-table-container"
@@ -1127,13 +1193,21 @@ LoadedCheerio {
1127
1193
style = " overflow-x: auto; overflow-y: hidden;"
1128
1194
>
1129
1195
<table
1130
- style = " width: 903px; min-width: 100%; table-layout: auto ;"
1196
+ style = " width: 903px; min-width: 100%; table-layout: fixed ;"
1131
1197
>
1132
- <colgroup />
1198
+ <colgroup >
1199
+ <col
1200
+ class = " rc-table-expand-icon-col"
1201
+ />
1202
+ </colgroup >
1133
1203
<thead
1134
1204
class = " rc-table-thead"
1135
1205
>
1136
1206
<tr >
1207
+ <th
1208
+ class = " rc-table-cell rc-table-row-expand-icon-cell rc-table-cell-fix-left rc-table-cell-fix-left-last"
1209
+ style = " position: sticky; left: 0px;"
1210
+ />
1137
1211
<th
1138
1212
class = " rc-table-cell"
1139
1213
scope = " col"
@@ -1189,11 +1263,28 @@ LoadedCheerio {
1189
1263
1190
1264
</div >
1191
1265
</td >
1266
+ <td
1267
+ style = " padding: 0px; border: 0px; height: 0px;"
1268
+ >
1269
+ <div
1270
+ style = " height: 0px; overflow: hidden;"
1271
+ >
1272
+
1273
+ </div >
1274
+ </td >
1192
1275
</tr >
1193
1276
<tr
1194
1277
class = " rc-table-row rc-table-row-level-0"
1195
1278
data-row-key = " 0"
1196
1279
>
1280
+ <td
1281
+ class = " rc-table-cell rc-table-row-expand-icon-cell rc-table-cell-fix-left rc-table-cell-fix-left-last"
1282
+ style = " position: sticky; left: 0px;"
1283
+ >
1284
+ <span
1285
+ class = " rc-table-row-expand-icon rc-table-row-collapsed"
1286
+ />
1287
+ </td >
1197
1288
<td
1198
1289
class = " rc-table-cell"
1199
1290
>
@@ -1214,6 +1305,14 @@ LoadedCheerio {
1214
1305
class = " rc-table-row rc-table-row-level-0"
1215
1306
data-row-key = " 1"
1216
1307
>
1308
+ <td
1309
+ class = " rc-table-cell rc-table-row-expand-icon-cell rc-table-cell-fix-left rc-table-cell-fix-left-last"
1310
+ style = " position: sticky; left: 0px;"
1311
+ >
1312
+ <span
1313
+ class = " rc-table-row-expand-icon rc-table-row-collapsed"
1314
+ />
1315
+ </td >
1217
1316
<td
1218
1317
class = " rc-table-cell"
1219
1318
>
0 commit comments