Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Body/ExpandedRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function ExpandedRow({
}}
className={`${prefixCls}-expanded-row-fixed`}
>
{contentNode}
{componentWidth !== 0 && contentNode}
</div>
);
}
Expand Down
8 changes: 2 additions & 6 deletions tests/__snapshots__/FixedColumn.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1760,9 +1760,7 @@ exports[`Table.FixedColumn renders correctly scrollX - without data 1`] = `
<div
class="rc-table-expanded-row-fixed"
style="width: 0px; position: sticky; left: 0px; overflow: hidden;"
>
No Data
</div>
/>
</td>
</tr>
</tbody>
Expand Down Expand Up @@ -2892,9 +2890,7 @@ exports[`Table.FixedColumn renders correctly scrollXY - without data 1`] = `
<div
class="rc-table-expanded-row-fixed"
style="width: -15px; position: sticky; left: 0px; overflow: hidden;"
>
No Data
</div>
/>
</td>
</tr>
</tbody>
Expand Down