fix: virtual table should be able to scroll when empty #1235
Annotations
2 errors and 8 warnings
tests/FixedColumn.spec.tsx > Table.FixedColumn > renders correctly > scrollXY - without data:
tests/FixedColumn.spec.tsx#L99
Error: Snapshot `Table.FixedColumn > renders correctly > scrollXY - without data 1` mismatched
- Expected
+ Received
@@ -145,11 +145,11 @@
</thead>
</table>
</div>
<div
class="rc-table-body"
- style="overflow-x: auto; overflow-y: scroll; max-height: 100px;"
+ style="overflow-x: auto; overflow-y: auto; max-height: 100px;"
>
<table
style="width: 1200px; min-width: 100%; table-layout: fixed;"
>
<colgroup>
@@ -296,11 +296,11 @@
class="rc-table-cell"
colspan="12"
>
<div
class="rc-table-expanded-row-fixed"
- style="width: 985px; position: sticky; left: 0px; overflow: hidden;"
+ style="width: 1000px; position: sticky; left: 0px; overflow: hidden;"
>
No Data
</div>
</td>
</tr>
❯ tests/FixedColumn.spec.tsx:99:36
|
coverage
Process completed with exit code 1.
|
setup
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v1, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
setup
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
coverage
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
coverage
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
compile
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
compile
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|