Skip to content

fix: header blank when using sticky or scroll.y #1683

fix: header blank when using sticky or scroll.y

fix: header blank when using sticky or scroll.y #1683

Triggered via pull request May 9, 2025 09:11
Status Failure
Total duration 1m 59s
Artifacts

main.yml

on: pull_request
test  /  react component workflow
1m 54s
test / react component workflow
Fit to window
Zoom out
Zoom in

Annotations

3 errors
test / react component workflow
Process completed with exit code 1.
tests/Table.spec.jsx > Table.Basic > custom components > renders fixed column and header correctly: tests/Table.spec.jsx#L623
Error: Snapshot `Table.Basic > custom components > renders fixed column and header correctly 1` mismatched - Expected + Received @@ -7,13 +7,26 @@ <div class="rc-table-header" style="overflow: hidden;" > <table - style="table-layout: fixed; visibility: hidden;" + style="table-layout: fixed;" + > + <colgroup> + <col + style="width: 0px;" + /> + <col + style="width: 0px;" + /> + <col + style="width: 0px;" + /> + <col + style="width: 15px;" - > + /> - <colgroup /> + </colgroup> <thead class="rc-table-thead" name="my-header-wrapper" > <tr ❯ tests/Table.spec.jsx:623:36
tests/FixedColumn.spec.tsx > Table.FixedColumn > fixed column renders correctly RTL: tests/FixedColumn.spec.tsx#L192
Error: Snapshot `Table.FixedColumn > fixed column renders correctly RTL 1` mismatched - Expected + Received @@ -43,11 +43,11 @@ title1 </th> <th class="rc-table-cell rc-table-cell-fix rc-table-cell-fix-start rc-table-cell-fix-start-shadow rc-table-cell-ellipsis" scope="col" - style="inset-inline-start: 0; --z-offset: 23; --z-offset-reverse: 13;" + style="inset-inline-start: 1000px; --z-offset: 23; --z-offset-reverse: 13;" title="title2" > <span class="rc-table-cell-content" > @@ -244,11 +244,11 @@ > 123 </td> <td class="rc-table-cell rc-table-cell-fix rc-table-cell-fix-start rc-table-cell-fix-start-shadow rc-table-cell-ellipsis" - style="inset-inline-start: 0; --z-offset: 23; --z-offset-reverse: 13;" + style="inset-inline-start: 1000px; --z-offset: 23; --z-offset-reverse: 13;" title="1111" > <span class="rc-table-cell-content" > @@ -317,11 +317,11 @@ > cdd </td> <td class="rc-table-cell rc-table-cell-fix rc-table-cell-fix-start rc-table-cell-fix-start-shadow rc-table-cell-ellipsis" - style="inset-inline-start: 0; --z-offset: 23; --z-offset-reverse: 13;" + style="inset-inline-start: 1000px; --z-offset: 23; --z-offset-reverse: 13;" title="1111" > <span class="rc-table-cell-content" > @@ -390,11 +390,11 @@ > 133 </td> <td class="rc-table-cell rc-table-cell-fix rc-table-cell-fix-start rc-table-cell-fix-start-shadow rc-table-cell-ellipsis" - style="inset-inline-start: 0; --z-offset: 23; --z-offset-reverse: 13;" + style="inset-inline-start: 1000px; --z-offset: 23; --z-offset-reverse: 13;" title="1111" > <span class="rc-table-cell-content" > @@ -447,11 +447,11 @@ > 133 </td> <td class="rc-table-cell rc-table-cell-fix rc-table-cell-fix-start rc-table-cell-fix-start-shadow rc-table-cell-ellipsis" - style="inset-inline-start: 0; --z-offset: 23; --z-offset-reverse: 13;" + style="inset-inline-start: 1000px; --z-offset: 23; --z-offset-reverse: 13;" title="1111" > <span class="rc-table-cell-content" > @@ -504,11 +504,11 @@ > 133 </td> <td class="rc-table-cell rc-table-cell-fix rc-table-cell-fix-start rc-table-cell-fix-start-shadow rc-table-cell-ellipsis" - style="inset-inline-start: 0; --z-offset: 23; --z-offset-reverse: 13;" + style="inset-inline-start: 1000px; --z-offset: 23; --z-offset-reverse: 13;" title="1111" > <span class="rc-table-cell-content" > @@ -561,11 +561,11 @@ > 133 </td> <td class="rc-table-cell rc-table-cell-fix rc-table-cell-fix-start rc-table-cell-fix-start-shadow rc-table-cell-ellipsis" - style="inset-inline-start: 0; --z-offset: 23; --z-offset-reverse: 13;" + style="inset-inline-start: 1000px; --z-offset: 23; --z-offset-reverse: 13;" title="1111" > <span class="rc-table-cell-content" > @@ -618,11 +618,11 @@ > 133 </td> <td class="rc-table-cell rc-table-cell-fix rc-table-cell-fix-start rc