We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3019a32 commit 54e4facCopy full SHA for 54e4fac
docs/examples/fixedColumnsAndHeader.tsx
@@ -61,7 +61,7 @@ const columns = [
61
62
const Demo = () => (
63
<React.StrictMode>
64
- <Table columns={columns as any} data={[{ key: 1 }]} scroll={{ x: 2000 }} sticky />
+ <Table columns={columns as any} data={[]} scroll={{ x: 'max-content' }} sticky />
65
</React.StrictMode>
66
);
67
src/Body/ExpandedRow.tsx
@@ -45,7 +45,7 @@ function ExpandedRow(props: ExpandedRowProps) {
45
contentNode = (
46
<div
47
style={{
48
- width: componentWidth - offsetWidth - (fixHeader && !isEmpty ? scrollbarSize : 0),
+ width: componentWidth - (fixHeader && !isEmpty ? scrollbarSize : 0),
49
position: 'sticky',
50
left: 0,
51
overflow: 'hidden',
0 commit comments