From e004077add6e25b398c7f251779ca1597b4fdf9e Mon Sep 17 00:00:00 2001 From: Denis Vershkov Date: Mon, 4 Dec 2023 09:07:06 +0100 Subject: [PATCH] feat: up openDelay to 1 sec, in accordance with desing review comments --- src/components/Tooltip/Tooltip.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Tooltip/Tooltip.tsx b/src/components/Tooltip/Tooltip.tsx index e228deed59..0105dbd3f3 100644 --- a/src/components/Tooltip/Tooltip.tsx +++ b/src/components/Tooltip/Tooltip.tsx @@ -71,7 +71,7 @@ export const Tooltip = (props: TooltipProps) => { function useTooltipVisible( anchor: HTMLElement | null, - {openDelay = 250, closeDelay}: TooltipDelayProps, + {openDelay = 1000, closeDelay}: TooltipDelayProps, ) { const [tooltipVisible, showTooltip, hideTooltip] = useBoolean(false); const timeoutRef = React.useRef();