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 bf4a885 commit 59639a7Copy full SHA for 59639a7
packages/main/src/components/AnalyticalTable/TableBody/RowSubComponent.tsx
@@ -85,6 +85,19 @@ export const RowSubComponent = (props: RowSubComponent) => {
85
});
86
}
87
88
+ // recalc if row id of row index has changed
89
+ if (
90
+ subComponentsHeight?.[virtualRow.index]?.rowId != null &&
91
+ subComponentsHeight?.[virtualRow.index]?.rowId !== row.id
92
+ ) {
93
+ dispatch({
94
+ type: 'SUB_COMPONENTS_HEIGHT',
95
+ payload: {
96
+ ...subComponentsHeight,
97
+ [virtualRow.index]: { subComponentHeight: subCompHeight, rowId: row.id }
98
+ }
99
+ });
100
101
102
103
0 commit comments