Skip to content

Commit e058b54

Browse files
committed
fix: tenants/tablets scroll
1 parent 85ed5e4 commit e058b54

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

src/containers/Cluster/Cluster.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@
6363
}
6464

6565
.ydb-table-with-controls-layout {
66-
// Height of visible tabs area above table for min-height calculation
67-
--data-table-min-height-offset: 62px;
6866
// Total height of all fixed elements above table for sticky header positioning
6967
--data-table-sticky-header-offset: 102px;
7068
}

src/containers/Tablets/TabletsTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ export function TabletsTable({
214214
{error ? <ResponseError error={error} /> : null}
215215
<TableWithControlsLayout.Table
216216
scrollContainerRef={scrollContainerRef}
217-
scrollDependencies={[filteredTablets]}
217+
scrollDependencies={[tabletsSearch]}
218218
loading={loading}
219219
>
220220
<ResizeableDataTable

src/containers/Tenants/Tenants.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ export const Tenants = ({additionalTenantsProps, scrollContainerRef}: TenantsPro
311311
<TableWithControlsLayout.Table
312312
scrollContainerRef={scrollContainerRef}
313313
loading={loading}
314-
scrollDependencies={[filteredTenants]}
314+
scrollDependencies={[searchValue, problemFilter]}
315315
>
316316
{currentData ? renderTable() : null}
317317
</TableWithControlsLayout.Table>

0 commit comments

Comments
 (0)