Skip to content

Commit

Permalink
fix(AnalyticalTable): display columns correctly after update (#5368)
Browse files Browse the repository at this point in the history
Fixes #5365
Lukas742 authored Dec 20, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 1fd9f5a commit 7217f16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/main/src/components/AnalyticalTable/index.tsx
Original file line number Diff line number Diff line change
@@ -608,7 +608,7 @@ const AnalyticalTable = forwardRef<AnalyticalTableDomRef, AnalyticalTablePropTyp

useEffect(() => {
columnVirtualizer.measure();
}, [columnVirtualizer, tableState.columnOrder, tableState.columnResizing?.isResizingColumn]);
}, [columnVirtualizer, tableState.columnOrder, tableState.columnResizing?.isResizingColumn, columns]);

const totalSize = columnVirtualizer.getTotalSize();
const showVerticalEndBorder = tableState.tableClientWidth > totalSize;

0 comments on commit 7217f16

Please sign in to comment.