Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Fix expanded guest table scrolling

rcourtman30c07922b499
diff --git a/frontend-modern/browser-verification.json b/frontend-modern/browser-verification.json
index ad64a28f65..2f2167d968 100644
--- a/frontend-modern/browser-verification.json
+++ b/frontend-modern/browser-verification.json
@@ -1,44 +1,41 @@
{
"version": 1,
- "base_sha": "814f7008833c19fce7d457c1818ebc9197b83c6e",
- "verified_at": "2026-08-24T07:44:48Z",
+ "base_sha": "dec1c94c27d65b6110f5bef08d2b54313a1a7e3a",
+ "verified_at": "2026-08-24T09:23:55Z",
"result": "passed",
"changed_paths": [
- "frontend-modern/src/AppLayout.tsx",
- "frontend-modern/src/components/shared/stableNavTabs.ts"
+ "frontend-modern/src/components/Workloads/useGroupedTableWindowing.ts",
+ "frontend-modern/src/components/Workloads/useWorkloadViewportSync.ts",
+ "frontend-modern/src/components/Workloads/useWorkloadsDerivedState.ts"
],
"content_sha256": {
- "frontend-modern/src/AppLayout.tsx": "60abf2ff6cbba15f57d1f0c8a5775b10fdfda96ff7827dc36953028571c5deeb",
- "frontend-modern/src/components/shared/stableNavTabs.ts": "41221184dc142e55a37a0bbc4f08edce2edfd067aa7f15e1a7f02d363f654018"
+ "frontend-modern/src/components/Workloads/useGroupedTableWindowing.ts": "79f29210f6edcb74dc7bcc4bd66fd43e2268467bc4f0cca318a5824a9f966c5e",
+ "frontend-modern/src/components/Workloads/useWorkloadViewportSync.ts": "301ea460d570d7e1ba1d87ab78c41000f78f55b2913cf454036415026bcf4599",
+ "frontend-modern/src/components/Workloads/useWorkloadsDerivedState.ts": "2bd50562e5b58f8a197c6b4cfb3c50a2cb7c61a187cb26203419e7ac668e5f8f"
},
"routes": [
- "/login",
- "/proxmox/overview",
- "/proxmox/storage",
- "/proxmox/backups/date",
- "/proxmox/mail",
- "/alerts/overview",
- "/patrol",
- "/actions"
+ "/proxmox"
],
"viewports": [
- {
- "width": 1440,
- "height": 900
- },
{
"width": 390,
"height": 844
+ },
+ {
+ "width": 1440,
+ "height": 900
}
],
"states": [
- "production build served via vite preview :4173 proxied to the live dev backend (mock estate: 50 nodes / 929 guests / 1508 resources, 46+ active alerts)",
- "desktop top nav (12 tabs) and mobile bottom bar (4 destinations) observed across 40s of websocket frames including activeAlerts-bearing rawData frames",
- "negative control on the pre-fix build: 3 of 4 mobile nav buttons and 4 of 10 desktop tabs were detached (recreated) within the same 40s window; with this change all tagged nav elements stayed connected"
+ "managed hot-dev mock estate with 50 nodes and 929 guests",
+ "first visible guest expanded with its variable-height inline detail mounted",
+ "expanded detail crossed out of the virtual window while the guest selection and full table height were retained",
+ "mock mode disabled and the managed runtime restored to real-nodes mode after verification"
],
"interactions": [
- "login as admin (real input)",
- "Playwright CDP clicks on Proxmox sub-tabs (Storage, Backups, Mail, Overview) and mobile bottom-bar destinations (Alerts, Patrol, Actions) with navigation confirmed by URL change",
- "desktop utility tab click to /alerts after the 40s stability window; zero console errors on both form factors"
+ "expanded artifact-cache-310 from the guest-table chevron at both responsive breakpoints",
+ "repeated native scrolling crossed the expanded-detail handoff without a backward jump: phone advanced 611 to 4251 and desktop advanced 1021 to 5921",
+ "confirmed the mounted guest budgets stayed at 36 rows on phone and 140 rows on desktop through the handoff",
+ "confirmed zero browser console errors on phone and desktop"
]
}
diff --git a/frontend-modern/src/components/Workloads/__tests__/useGroupedTableWindowing.test.ts b/frontend-modern/src/components/Workloads/__tests__/useGroupedTableWindowing.test.ts
index b993e5a306..e7a3b47ddb 100644
--- a/frontend-modern/src/components/Workloads/__tests__/useGroupedTableWindowing.test.ts
+++ b/frontend-modern/src/components/Workloads/__tests__/useGroupedTableWindowing.test.ts
@@ -6,6 +6,7 @@ import {
type UseGroupedTableWindowingOptions,
type UseGroupedTableWindowingResult,
} from '../useGroupedTableWindowing';
+import { resolveWorkloadGuestIndexAtVirtualOffset } from '../useWorkloadsDerivedState';
import type { WorkloadGuest } from '@/types/workloads';
/** Build a minimal WorkloadGuest stub for slicing tests. */
@@ -727,4 +728,41 @@ describe('useGroupedTableWindowing', () => {
expect(hook.endIndex()).toBe(100);
});
});
+
+ describe('expanded detail scrolling', () => {
+ it('treats the expanded detail height as part of the selected guest virtual row', () => {
+ const geometry = {
+ detailHeight: 900,
+ detailRowIndex: 10,
+ groupHeaderHeight: 28,
+ groupStartIndices: [0],
+ rowHeight: 37,
+ totalRows: 100,
+ };
+
+ expect(
+ resolveWorkloadGuestIndexAtVirtualOffset({ ...geometry, offset: 10 * 37 + 28 + 600 }),
+ ).toBe(10);
+ expect(
+ resolveWorkloadGuestIndexAtVirtualOffset({ ...geometry, offset: 11 * 37 + 28 + 900 }),
+ ).toBe(11);
+ });
+
+ it('uses a reveal target once without pinning later scroll-driven windows to it', () => {
+ const [revealIndex] = createSignal<number | null>(500);
+ const hook = setup({
+ totalRowCount: () => 1000,
+ enabled: () => true,
+ windowSize: 100,
+ revealIndex,
+ });
+
+ expect(hook.startIndex()).toBe(450);
+
+ hook.onScroll(28000, 400, 40);
+
+ expect(hook.startIndex()).toBeGreaterThan(600);
+ expect(hook.startIndex()).not.toBe(450);
+ });
+ });
});
diff --git a/frontend-modern/src/components/Workloads/__tests__/useWorkloadViewportSync.test.tsx b/frontend-modern/src/components/Workloads/__tests__/useWorkloadViewportSync.test.tsx
index 2167d6a41e..ea04824423 100644
--- a/frontend-modern/src/components/Workloads/__tests__/useWorkloadViewportSync.test.tsx
+++ b/frontend-modern/src/components/Workloads/__tests__/useWorkloadViewportSync.test.tsx
@@ -91,9 +91,67 @@ describe('useWorkloadViewportSync', () => {
expect(removeEventListenerSpy).toHaveBeenCalledWith('resize', expect.any(Function));
});
+ it('captures expanded detail geometry when the drawer mounts before scrolling', async () => {
+ const onExpandedDetailHeightChange = vi.fn();
+ const groupedWindowing: UseGroupedTableWindowingResult = {
+ endIndex: () => 36,
+ getVisibleSlice: (_groupKey, guests) => guests,
+ isWindowed: () => true,
+ mountedCount: () => 36,
+ onScroll: vi.fn(),
+ revealIndex: vi.fn(),
+ startIndex: () => 0,
+ };
+
+ const Harness = () => {
+ const [bodyRef, setBodyRef] = createSignal<HTMLTableSectionElement | null>(null);
+
+ useWorkloadViewportSync({
+ filteredGuestCount: () => 640,
+ groupedWindowing,
+ onExpandedDetailHeightChange,
+ rowHeight: () => 37,
+ selectedGuestId: () => 'guest-1',
+ tableBodyRef: bodyRef,
+ });
+
+ return (
+ <table>
+ <tbody ref={setBodyRef}>
+ <tr
+ data-inline-detail-for="guest-1"
+ ref={(element) => {
+ vi.spyOn(element, 'getBoundingClientRect').mockReturnValue({
+ bottom: 900,
+ height: 900,
+ left: 0,
+ right: 800,
+ toJSON: () => ({}),
+ top: 0,
+ width: 800,
+ x: 0,
+ y: 0,
+ } as DOMRect);
+ }}
+ >
+ <td>Expanded guest details</td>
+ </tr>
+ </tbody>
+ </table>
+ );
+ };
+
+ render(() => <Harness />);
+
+ await waitFor(() => {
+ expect(onExpandedDetailHeightChange).toHaveBeenCalledWith(900);
+ });
+ });
+
it('tracks the app scroll container instead of leaving the initial spacer in place', async () => {
- const onScroll = vi.fn();
+ let expandedDetailActive = false;
let appScrollContainer!: HTMLDivElement;
+ const onScroll = vi.fn();
let horizontalTableWrapper!: HTMLDivElement;
const groupedWindowing: UseGroupedTableWindowingResult = {
endIndex: () => 150,
@@ -109,6 +167,7 @@ describe('useWorkloadViewportSync', () => {
const [bodyRef, setBodyRef] = createSignal<HTMLTableSectionElement | null>(null);
useWorkloadViewportSync({
+ expandedDetailActive: () => expandedDetailActive,
filteredGuestCount: () => 640,
groupedWindowing,
rowHeight: () => 32,
@@ -186,10 +245,16 @@ describe('useWorkloadViewportSync', () => {
cancelable: true,
deltaY: 120,
});
+ appScrollContainer.scrollTop = 300;
appScrollContainer.dispatchEvent(wheelEvent);
expect(onScroll).toHaveBeenLastCalledWith(680, 400, 32);
expect(wheelEvent.defaultPrevented).toBe(false);
+ expandedDetailActive = true;
+ const callsBeforeExpandedInput = onScroll.mock.calls.length;
+ appScrollContainer.dispatchEvent(wheelEvent);
+ expect(onScroll).toHaveBeenCalledTimes(callsBeforeExpandedInput);
+
const touchStart = new Event('touchstart');
Object.defineProperty(touchStart, 'touches', {
value: { item: () => ({ clientX: 200, clientY: 240 }) },
@@ -199,8 +264,9 @@ describe('useWorkloadViewportSync', () => {
Object.defineProperty(touchMove, 'touches', {
value: { item: () => ({ clientX: 196, clientY: 120 }) },
});
+ appScrollContainer.scrollTop = 320;
appScrollContainer.dispatchEvent(touchMove);
- expect(onScroll).toHaveBeenLastCalledWith(680, 400, 32);
+ expect(onScroll).toHaveBeenCalledTimes(callsBeforeExpandedInput);
expect(touchMove.defaultPrevented).toBe(false);
});
diff --git a/frontend-modern/src/components/Workloads/useGroupedTableWindowing.ts b/frontend-modern/src/components/Workloads/useGroupedTableWindowing.ts
index dacb3c54f9..fb84f2f31b 100644
--- a/frontend-modern/src/components/Workloads/useGroupedTableWindowing.ts
+++ b/frontend-modern/src/components/Workloads/useGroupedTableWindowing.ts
@@ -1,4 +1,4 @@
-import { createEffect, createMemo, createSignal } from 'solid-js';
+import { createEffect, createMemo, createSignal, untrack } from 'solid-js';
import type { WorkloadGuest } from '@/types/workloads';
export interface UseGroupedTableWindowingOptions {
@@ -168,7 +168,10 @@ export const useGroupedTableWindowing = (
if (!isWindowed()) return;
const target = options.revealIndex?.();
if (target == null || target < 0) return;
- revealIndex(target);
+ // A reveal target is an initial positioning request, not a permanent pin.
+ // Reading the current window inside this effect would otherwise make every
+ // scroll-driven window shift snap back to an expanded or deep-linked row.
+ untrack(() => revealIndex(target));
});
return {
diff --git a/frontend-modern/src/components/Workloads/useWorkloadViewportSync.ts b/frontend-modern/src/components/Workloads/useWorkloadViewportSync.ts
index bdec91d066..a905b33d71 100644
--- a/frontend-modern/src/components/Workloads/useWorkloadViewportSync.ts
+++ b/frontend-modern/src/components/Workloads/useWorkloadViewportSync.ts
@@ -1,5 +1,7 @@
import { createEffect, createSignal, onCleanup, type Accessor } from 'solid-js';
+import { findInlineDetailElement } from '@/components/shared/contextualFocus';
+
import type { UseGroupedTableWindowingResult } from './useGroupedTableWindowing';
const SCROLLABLE_OVERFLOW_PATTERN = /(?:auto|scroll|overlay)/;
@@ -37,20 +39,34 @@ const findScrollContainer = (element: HTMLElement): HTMLElement | null => {
};
interface WorkloadsWorkloadViewportSyncOptions {
+ expandedDetailActive?: Accessor<boolean>;
filteredGuestCount: Accessor<number>;
groupedWindowing: UseGroupedTableWindowingResult;
+ onExpandedDetailHeightChange?: (height: number) => void;
onRowGeometryChange?: (geometry: { groupHeaderHeight?: number; rowHeight?: number }) => void;
rowHeight: Accessor<number>;
+ selectedGuestId?: Accessor<string | null>;
tableBodyRef: Accessor<HTMLTableSectionElement | null>;
}
export function useWorkloadViewportSync(options: WorkloadsWorkloadViewportSyncOptions) {
const [isScrollToTopVisible, setIsScrollToTopVisible] = createSignal(false);
+ const reportExpandedDetailHeight = (body: HTMLTableSectionElement, selectedGuestId: string) => {
+ const detail = findInlineDetailElement(body, selectedGuestId);
+ const detailHeight = detail?.getBoundingClientRect().height ?? 0;
+ if (detailHeight > 0) options.onExpandedDetailHeightChange?.(detailHeight);
+ return detail;
+ };
+
const syncGuestWindowToViewport = (measureRows = false, projectedScrollDelta = 0) => {
if (typeof window === 'undefined') return;
const body = options.tableBodyRef();
if (!body) return;
+ const selectedGuestId = options.selectedGuestId?.();
+ if (selectedGuestId) {
+ reportExpandedDetailHeight(body, selectedGuestId);
+ }
if (measureRows) {
const guestRowHeight = body
.querySelector<HTMLTableRowElement>(':scope > tr.workload-row')
@@ -88,6 +104,28 @@ export function useWorkloadViewportSync(options: WorkloadsWorkloadViewportSyncOp
);
};
+ createEffect(() => {
+ if (typeof window === 'undefined') return;
+ const selectedGuestId = options.selectedGuestId?.();
+ const body = options.tableBodyRef();
+ if (!selectedGuestId || !body) return;
+
+ let detailObserver: ResizeObserver | undefined;
+ const measurementFrame = window.requestAnimationFrame(() => {
+ const detail = reportExpandedDetailHeight(body, selectedGuestId);
+ if (!detail || typeof ResizeObserver === 'undefined') return;
+ detailObserver = new ResizeObserver(() => {
+ reportExpandedDetailHeight(body, selectedGuestId);
+ });
+ detailObserver.observe(detail);
+ });
+
+ onCleanup(() => {
+ window.cancelAnimationFrame(measurementFrame);
+ detailObserver?.disconnect();
+ });
+ });
+
createEffect(() => {
if (typeof window === 'undefined') return;
options.filteredGuestCount();
@@ -99,7 +137,16 @@ export function useWorkloadViewportSync(options: WorkloadsWorkloadViewportSyncOp
let lastTouchPosition: TouchPosition | null = null;
const handleViewportWheel = (event: Event) => {
const wheelEvent = event as WheelEvent;
- if (!options.groupedWindowing.isWindowed() || wheelEvent.deltaY === 0) return;
+ // Let native input move first while a variable-height drawer is open.
+ // Prewarming can replace that keyed detail row before the browser applies
+ // its delta, causing scroll anchoring to consume the drawer height.
+ if (
+ !options.groupedWindowing.isWindowed() ||
+ options.expandedDetailActive?.() ||
+ wheelEvent.deltaY === 0
+ ) {
+ return;
+ }
const viewportHeight =
scrollTarget instanceof HTMLElement
? scrollTarget.clientHeight || window.innerHeight
@@ -120,7 +167,13 @@ export function useWorkloadViewportSync(options: WorkloadsWorkloadViewportSyncOp
const nextPosition = { x: touch.clientX, y: touch.clientY };
const previousPosition = lastTouchPosition;
lastTouchPosition = nextPosition;
- if (!previousPosition || !options.groupedWindowing.isWindowed()) return;
+ if (
+ !previousPosition ||
+ !options.groupedWindowing.isWindowed() ||
+ options.expandedDetailActive?.()
+ ) {
+ return;
+ }
const deltaX = previousPosition.x - nextPosition.x;
const deltaY = previousPosition.y - nextPosition.y;
diff --git a/frontend-modern/src/components/Workloads/useWorkloadsDerivedState.ts b/frontend-modern/src/components/Workloads/useWorkloadsDerivedState.ts
index 87c5dbe897..68ee47b759 100644
--- a/frontend-modern/src/components/Workloads/useWorkloadsDerivedState.ts
+++ b/frontend-modern/src/components/Workloads/useWorkloadsDerivedState.ts
@@ -1,4 +1,4 @@
-import { createMemo, createSignal, type Accessor } from 'solid-js';
+import { createEffect, createMemo, createSignal, type Accessor } from 'solid-js';
import type { Alert, Node } from '@/types/api';
import type { WorkloadGuest } from '@/types/workloads';
@@ -25,6 +25,56 @@ const WORKLOADS_TABLE_DIVIDER_HEIGHT = 1;
const DESKTOP_WORKLOAD_WINDOW_SIZE = 140;
const PHONE_WORKLOAD_WINDOW_SIZE = 36;
+interface WorkloadVirtualOffsetOptions {
+ detailHeight: number;
+ detailRowIndex: number | null;
+ groupHeaderHeight: number;
+ groupStartIndices: readonly number[];
+ offset: number;
+ rowHeight: number;
+ totalRows: number;
+}
+
+export const resolveWorkloadGuestIndexAtVirtualOffset = ({
+ detailHeight,
+ detailRowIndex,
+ groupHeaderHeight,
+ groupStartIndices,
+ offset,
+ rowHeight,
+ totalRows,
+}: WorkloadVirtualOffsetOptions): number => {
+ if (totalRows <= 1) return 0;
+
+ const countGroupStartsAtOrBefore = (guestIndex: number) => {
+ let low = 0;
+ let high = groupStartIndices.length;
+ while (low < high) {
+ const middle = Math.floor((low + high) / 2);
+ if (groupStartIndices[middle] <= guestIndex) low = middle + 1;
+ else high = middle;
+ }
+ return low;
+ };
+
+ let low = 0;
+ let high = totalRows - 1;
+ let resolved = 0;
+ while (low <= high) {
+ const middle = Math.floor((low + high) / 2);
+ const detailOffset = detailRowIndex !== null && middle > detailRowIndex ? detailHeight : 0;
+ const guestTop =
+ middle * rowHeight + countGroupStartsAtOrBefore(middle) * groupHeaderHeight + detailOffset;
+ if (guestTop <= offset) {
+ resolved = middle;
+ low = middle + 1;
+ } else {
+ high = middle - 1;
+ }
+ }
+ return resolved;
+};
+
interface WorkloadsWorkloadDerivedStateOptions {
activeAlerts: Accessor<Record<string, Alert>>;
alertsEnabled: Accessor<boolean>;
@@ -111,39 +161,6 @@ export function useWorkloadsDerivedState(options: WorkloadsWorkloadDerivedStateO
return low;
};
- const countGroupStartsAtOrBefore = (guestIndex: number) => {
- const starts = groupStartIndices();
- let low = 0;
- let high = starts.length;
- while (low < high) {
- const middle = Math.floor((low + high) / 2);
- if (starts[middle] <= guestIndex) low = middle + 1;
- else high = middle;
- }
- return low;
- };
-
- const guestIndexAtVirtualOffset = (offset: number, rowHeight: number) => {
- const totalGuests = filteredGuests().length;
- if (totalGuests <= 1) return 0;
-
- let low = 0;
- let high = totalGuests - 1;
- let resolved = 0;
- while (low <= high) {
- const middle = Math.floor((low + high) / 2);
- const guestTop =
- middle * rowHeight + countGroupStartsAtOrBefore(middle) * estimatedGroupHeaderHeight();
- if (guestTop <= offset) {
- resolved = middle;
- low = middle + 1;
- } else {
- high = middle - 1;
- }
- }
- return resolved;
- };
-
const guestGlobalIndexById = createMemo(() => {
const indexById = new Map<string, number>();
const groups = groupedGuests();
@@ -160,6 +177,28 @@ export function useWorkloadsDerivedState(options: WorkloadsWorkloadDerivedStateO
return indexById;
});
+ const [selectedDetailHeight, setSelectedDetailHeight] = createSignal(0);
+ const selectedGuestIndex = createMemo<number | null>(() => {
+ const selectedId = options.selectedGuestId();
+ return selectedId ? (guestGlobalIndexById().get(selectedId) ?? null) : null;
+ });
+
+ createEffect(() => {
+ options.selectedGuestId();
+ setSelectedDetailHeight(0);
+ });
+
+ const guestIndexAtVirtualOffset = (offset: number, rowHeight: number) =>
+ resolveWorkloadGuestIndexAtVirtualOffset({
+ detailHeight: selectedDetailHeight(),
+ detailRowIndex: selectedGuestIndex(),
+ groupHeaderHeight: estimatedGroupHeaderHeight(),
+ groupStartIndices: groupStartIndices(),
+ offset,
+ rowHeight,
+ totalRows: filteredGuests().length,
+ });
+
const revealGuestIndex = createMemo<number | null>(() => {
const selectedId = options.selectedGuestId();
if (selectedId) {
@@ -220,9 +259,14 @@ export function useWorkloadsDerivedState(options: WorkloadsWorkloadDerivedStateO
const topSpacerHeight = createMemo(() => {
if (!groupedWindowing.isWindowed() || groupedWindowing.startIndex() <= 0) return 0;
+ const detailHeight =
+ selectedGuestIndex() !== null && selectedGuestIndex()! < groupedWindowing.startIndex()
+ ? selectedDetailHeight()
+ : 0;
const virtualHeight =
groupedWindowing.startIndex() * estimatedRowHeight() +
- countGroupStartsBefore(groupedWindowing.startIndex()) * estimatedGroupHeaderHeight();
+ countGroupStartsBefore(groupedWindowing.startIndex()) * estimatedGroupHeaderHeight() +
+ detailHeight;
// The table's divide-y rule adds one border when a leading spacer is
// mounted. Keep that border inside the virtual height instead of letting
@@ -230,25 +274,34 @@ export function useWorkloadsDerivedState(options: WorkloadsWorkloadDerivedStateO
return Math.max(0, virtualHeight - WORKLOADS_TABLE_DIVIDER_HEIGHT);
});
- const bottomSpacerHeight = createMemo(() =>
- groupedWindowing.isWindowed()
- ? Math.max(
- 0,
- (filteredGuests().length - groupedWindowing.endIndex()) * estimatedRowHeight() +
- (groupStartIndices().length - countGroupStartsBefore(groupedWindowing.endIndex())) *
- estimatedGroupHeaderHeight(),
- )
- : 0,
- );
+ const bottomSpacerHeight = createMemo(() => {
+ if (!groupedWindowing.isWindowed()) return 0;
+ const detailHeight =
+ selectedGuestIndex() !== null && selectedGuestIndex()! >= groupedWindowing.endIndex()
+ ? selectedDetailHeight()
+ : 0;
+ return Math.max(
+ 0,
+ (filteredGuests().length - groupedWindowing.endIndex()) * estimatedRowHeight() +
+ (groupStartIndices().length - countGroupStartsBefore(groupedWindowing.endIndex())) *
+ estimatedGroupHeaderHeight() +
+ detailHeight,
+ );
+ });
const workloadViewport = useWorkloadViewportSync({
+ expandedDetailActive: () => selectedGuestIndex() !== null && selectedDetailHeight() > 0,
filteredGuestCount: () => filteredGuests().length,
groupedWindowing,
+ onExpandedDetailHeightChange: (height) => {
+ if (Math.abs(height - selectedDetailHeight()) > 0.5) setSelectedDetailHeight(height);
+ },
onRowGeometryChange: (geometry) => {
if (geometry.rowHeight) setEstimatedRowHeight(geometry.rowHeight);
if (geometry.groupHeaderHeight) setEstimatedGroupHeaderHeight(geometry.groupHeaderHeight);
},
rowHeight: estimatedRowHeight,
+ selectedGuestId: options.selectedGuestId,
tableBodyRef: options.tableBodyRef,
});