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:
@ -20,7 +20,6 @@ import { flushSync } from 'react-dom';
|
||||
import { Keys } from 'react-hotkeys-hook';
|
||||
import { useRecoilCallback } from 'recoil';
|
||||
import { isDefined } from 'twenty-shared/utils';
|
||||
import { sleep } from '~/utils/sleep';
|
||||
import { useDropdown } from '../hooks/useDropdown';
|
||||
|
||||
const StyledDropdownFallbackAnchor = styled.div`
|
||||
@ -115,8 +114,6 @@ export const Dropdown = ({
|
||||
dropdownHotkeyScope,
|
||||
);
|
||||
|
||||
await sleep(100);
|
||||
|
||||
toggleDropdown();
|
||||
onClickOutside?.();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user