Fix safari broken table (#11417)

In this PR:
- deprecate usage of useInView (react-intersection-observer) for record
table
- fixes #11254
This commit is contained in:
Charles Bochet
2025-04-07 16:33:02 +02:00
committed by GitHub
parent 26504f02a3
commit 59ae978ee3
24 changed files with 223 additions and 203 deletions

View File

@ -3,8 +3,8 @@ import { DEFAULT_QUERY_PAGE_SIZE } from '@/object-record/constants/DefaultQueryP
import { UseFindManyRecordsParams } from '@/object-record/hooks/useFetchMoreRecordsWithPagination';
import { useLazyFindManyRecords } from '@/object-record/hooks/useLazyFindManyRecords';
import { useCallback, useState } from 'react';
import { sleep } from '~/utils/sleep';
import { isDefined } from 'twenty-shared/utils';
import { sleep } from '~/utils/sleep';
type UseLazyFetchAllRecordIdsParams<T> = Omit<
UseFindManyRecordsParams<T>,